Re: Passing variables back to parent window
| From: | Josh G | Date: | Thu, 14 Dec 2000 01:50:49 +0000 |
| Subject: | Re: Passing variables back to parent window | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-30231@lists.php.net to get a copy of this message | ||
<script language="JavaScript">
window.parent.location="something.php?something=<?php echo $someval; ?>";
</script>
or it may be window.parent.document.location, not sure, since I'm doing this
off the top
of my head :)
Gfunk
http://www.gfunk007.com/
----- Original Message -----
From: <scott@globalhost.com>
To: <php-general@lists.php.net>
Sent: Thursday, December 14, 2000 12:43 PM
Subject: [PHP] Passing variables back to parent window
> Hello all,
>
> I have a window that pops up another window to do a search for users in a
database. I want to be able to send the user's username back to the parent
window as a variable. Anybody know how this would be done?
>
> Thanks,
> - - - - - - - - - - - - - - -
> Scott Poarch
> http://www.globalhost.com
> - - - - - - - - - - - - - -
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>