-ascii
Content-Transfer-Encoding: 7bit
Message-ID: [EMAIL PROTECTED]
Subject: RE: [PHP-DB] question on select
!--
function changeMenu()
{
document.fcountry.newcountry.value =
document.fcountry.country.options[document.fcountry.country.selectedIndex].
v
alue;
}
--
/script
this information from
this point on. Can someone please tell me how I can use the selected item in
my next SQL query?
-Original Message-
From: Tony S. Wu [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 12, 2004 11:07 AM
To: hengameh
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP-DB] question on select
sounds like a job for JavaScript.
Tony S. Wu
[EMAIL PROTECTED]
Look into the right places, you can find some good offerings.
http://homepage.mac.com/tonyswu/stw- The perfect business.
http://homepage.mac.com/tonyswu/tonyswu- My web page.
:[EMAIL PROTECTED]
Sent: Wednesday, May 12, 2004 11:07 AM
To: hengameh
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP-DB] question on select
sounds like a job for JavaScript.
Tony S. Wu
[EMAIL PROTECTED]
Look into the right places, you can find some good offerings.
http://homepage.mac.com/tonyswu/stw
: RE: [PHP-DB] question on select
Well I am suing Java script to capture the selected item and
make it the
value of my input box. But my problem is how to access this
information from
this point on. Can someone please tell me how I can use the
selected item in
my next SQL query
-
From: Hutchins, Richard [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 12, 2004 11:45 AM
To: [EMAIL PROTECTED]
Subject: RE: [PHP-DB] question on select
You'd have to take the value of the first select box in your form and pass
it to another script. You can do that by setting the form's ACTION
Thanks so much but I am so new to all this so need more explanation
please.
I think at this point I don't mind the round trip to the server side
till I
find a better way. But for now I think I have what you are suggesting
but
then why my echo is not retuning anything :
form name=fcountry
echo mysql_error();
}
}else{ //pconnect
echo mysql_error();
}
}
?
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 12, 2004 12:41 PM
To: hengameh; [EMAIL PROTECTED]
Subject: RE: [PHP-DB] question on select
Here