i know i caused u a headache:)
| From: | its me | Date: | Wed, 26 Sep 2001 13:11:14 +0000 |
| Subject: | i know i caused u a headache:) | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-12722@lists.php.net to get a copy of this message | ||
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
------------------------------------------------------------
------------------------------------------------------------