Forums
This topic is locked
Drop down list search - results on same page
24 Dec 2008 00:03:52 M T posted:
I want to create a similar search function using php/mysql and Dreamweaver as the following page:-It seems to use the same page for the results rather than paasing variables via a url
www.whatcar.co.uk/car-comparison.aspx
Is this possible/how?
Replies
Replied 24 Dec 2008 11:05:44
24 Dec 2008 11:05:44 Alan C replied:
you can use the same page for results by passing data back to the same page, then at the top, in your php, you sort out which way the page has been called - a good example is lists that get resorted when you click on the column headings. Often these are all done by the same page, with different queries being executed depending on what was clicked.
If you pick apart the DW code you'll find that it often calls itself
If you pick apart the DW code you'll find that it often calls itself