Topic awaiting preservation: passing variables to a new window (Page 1 of 1) |
|
---|---|
Paranoid (IV) Inmate From: my mother |
posted 09-30-2004 23:47
How do I pass variables from one page to a popup window using php? I want to be able to click on a link and have the variables passed to the resulting popup. Is there a better way to do it, without using php? I've searched the web in vain for a solution. Thanks in advance, |
Paranoid (IV) Inmate From: Maryland, USA |
posted 09-30-2004 23:59
You could use a form tag and have hidden post variables. Simply "submit" to a new page. |
Paranoid (IV) Inmate From: here |
posted 10-01-2004 00:37
How would I do it without a form? These are variables that I will declare on the parent. |
Paranoid (IV) Inmate From: [s]underwater[/s] under-snow in Juneau |
posted 10-01-2004 02:59
Parent document- code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
|
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
posted 10-01-2004 03:12
Um this is all well and good but you can also just pass the variables in the query string of the new winow url |
Paranoid (IV) Inmate From: [s]underwater[/s] under-snow in Juneau |
posted 10-01-2004 03:16
ok....sure... Do it the easy way then. (lol) |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
posted 10-01-2004 17:55
|
Paranoid (IV) Inmate From: here |
posted 10-01-2004 23:27
bit, how do i call the variable then? I tried this: code: <a href='new.php?name=joe' target='new'>link</a>
code: <?php
|
Paranoid (IV) Inmate From: France |
posted 10-01-2004 23:36 |
Paranoid (IV) Inmate From: here |
posted 10-02-2004 00:02
poi, i've seen that before, and I'm confused about exactly what they're talking about. And I don't see how to adapt their coding to fit my needs. |
Paranoid (IV) Mad Scientist with Finglongers From: Germany |
posted 10-02-2004 00:17
you always have to think about the way your php scripts receive their variables. |