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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

passing options from a static page for a query

Status
Not open for further replies.

svar

Programmer
Aug 12, 2001
349
GR
I'm looking for any tips for easy passing of values from a static page to a php page which will do queries. For example I have a static page which is basically a table with lots of different elements, text input, text from listboxes, checkboxes specifying whether one needs an exact match or not, radiobuttons etc. Just put the table in one form and use a post method or is there something better?
 
Just put the table in one form and use a post method or is there something better?

Yes and not really.

Chris.

Indifference will be the downfall of mankind, but who cares?
Time flies like an arrow, however, fruit flies like a banana.
Webmaster Forum
 
Well if you want to keep the static page modification to a minimum yes a form would be the simplest approach.

Alternatively you could incorporate an Ajax routine to your page that sends the values to the PHP script and gets the returns data for parsing without ever leaving the page you are on.



----------------------------------
Phil AKA Vacunita
----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.

Web & Tech
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top