RE: [PHP-DB] i know i caused u a headache:)
| From: | Dave Watkinson | Date: | Wed, 26 Sep 2001 13:05:06 +0000 |
| Subject: | RE: [PHP-DB] i know i caused u a headache:) | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-12723@lists.php.net to get a copy of this message | ||
you need to do ?brand=<? echo $something; ?>
-----Original Message-----
From: its me [mailto:fotna@egypt.net]
Sent: 26 September 2001 14:11
To: php-db@lists.php.net
Subject: [PHP-DB] i know i caused u a headache:)
here is my situation:
i select a category on store.php(from a form)
then in the same page i have a javascript that tells:
x=document.forms[0].subcategory.selectedIndex
y= document.forms[0].subcategory.options[x].text
if(y=="Printers" )
{
windowopen("store1.php","newWindow")
return
}
so i'll open a .php page i already have and according to the category
that is selected a different page will be opened..ok?
what i need is to have the value of the field category in the stor1.php
page
i tried to do it withsession(its the only point i got from u:))
but how ???
the variable y is what i wanna register...but its within javascript..i
couldn't write like this:
session_register("y")
so????i hope u got me....
i tried:
open("store1.php?brand='y'","newWindow")
but then brand =y
------------------------------------------------------------
------------------------------------------------------------
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
For additional commands, e-mail: php-db-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net