passing javascript variables to php

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
nnn
Forum Newbie
Posts: 3
Joined: Fri Oct 25, 2002 12:56 am

passing javascript variables to php

Post by nnn »

Dear all !
I have a problem with my task:
there are 2 "select", filled from the MySQL;
first "select" has "onChange" function, defined in javascript;
i need use selected value from first "select" like a part of MySQL query for refilling second "select";
but this value is a javascript variable, and all this must be done before "submit";
Do you have any idea ?
Thanks for help
User avatar
mydimension
Moderator
Posts: 531
Joined: Tue Apr 23, 2002 6:00 pm
Location: Lowell, MA USA
Contact:

Post by mydimension »

have a read of this: viewtopic.php?t=1030
Post Reply