you need to do ?brand=<? echo $something; ?>
-----Original Message-----
From: its me [mailto:[EMAIL PROTECTED]]
Sent: 26 September 2001 14:11
To: [EMAIL PROTECTED]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]