I am trying to pass a variable between 2 pages. I am using a Select Drop Down Box inside a form. Now, once i hit the submit button, it goes to the next page, displays in the address bar the address of the page i want to go to plus the variable i want to pass. My problem is, i cannot display the variabe on the new page. I want to use it in an $sql=SELECT Type FROM Database WHERE condition LIKE variable.
Any Suggestions
Thanks
Variable Passing Problem
Moderator: General Moderators
after i hit the submit button on my page, the url is like this:
infoselect.php?item=Engine
now engines is from the drop down list.
i have done this before, and it worked fine. Could it be that i am running on Localhost??? I dont think that it would make a diference
also, could you explain "If not, you can echo these values in a type hidden input element."
infoselect.php?item=Engine
now engines is from the drop down list.
i have done this before, and it worked fine. Could it be that i am running on Localhost??? I dont think that it would make a diference
also, could you explain "If not, you can echo these values in a type hidden input element."
maybe you should read Sticky: Before Post Read: Concerning Passing Variables in PHP 4.2+ and Announcement: Before Post Read: General Posting Guidelines first.