Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I pass query info from form? PHP/MySQL

Status
Not open for further replies.

shamrox

Programmer
Sep 27, 2001
81
US
Ok, I have a form on a static html page with two drop downs. User makes selection from drop down and then hits submit. I have a php page that I want the selections from those drop downs to be used for the query and subsequent output on the page that follows.
Question: How do I pass those selections to the next php page and into the SQL query?

Thanks for your help. I'm a php/mysql newbie.
 
To the question of "how do I get my data into PHP", this is a good place to start reading:
.
They do a better job of explaining it than I could.

As to use of MySQL with PHP, try starting here:
particularly taking a look at the example code about halfway down the page. ______________________________________________________________________
Never forget that we are
made of the stuff of stars
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top