Hello!
I am needing, and a lot of your help.
I have a HTML with a < SELECT > and with the name D1 and I am needing to pass the value of D1 as parameter for PHP.
I tested the choice of the value of the choice for the user with the vbscript and it is correct. The event onchange is coming back the property value of the correctly < SELECT >. However I don't get to pass this form value some for PHP.
Please, help me the period for delivery of the page is expiring.
Thank´s
HTML SELECT AND PHP AND MYSQL QUERY
Moderator: General Moderators
- Fredix
- Forum Contributor
- Posts: 101
- Joined: Fri Jul 18, 2003 2:16 pm
- Location: Wehr (Eifel) Germany
- Contact:
...*a light grin is running over my lips coz I know that situation*...Please, help me the period for delivery of the page is expiring.
back to the topic:
you either use Java Script (DO NOT USE VBSCRIPT FOR ANYTHING!!) and onchange redirect to something like http://yoursite.com/script.php?choice=value (where value is what was chosen)
or make a form and POST the data when a submit button is pressed.
you could use both solutions becuase the first is more comfortable but doesn't work for those who have JS disabled, they would use the button then.
hope I helped