Jump to content

re: Search & Result pages in PHP


Nat

Recommended Posts

Hi,

 

I have created a PHP page with a dynamically populated selection list and submit button. And another php page that is suppose to display the results in a table from MySQL.

 

But haven't got the code quite right.

 

Does anyone know some good tutorials for building search and results pages in PHP?

 

Link to comment
https://forums.phpfreaks.com/topic/54064-re-search-result-pages-in-php/
Share on other sites

I'm stuck on the results.php page.

 

On the search.php page I have a dynamically populated search list - linked to a table but there's a option called "Any" which if selected will retrieve all of the options within the selection list. But I need it to retrieve the result if only 1 of the options is selected also.

 

unfortunately I can't because it's an assignment and I don't want to get in strife but I will try and give a little bit more info.

 

I'm stuck on the results.php page.

 

On the search.php page I have a dynamically populated search list - linked to a table but there's a option called "Any" which if selected will retrieve all of the options within the selection list. But I need it to retrieve the result if only 1 of the options is selected also.

 

Also another problem is that the options are represented by a number in another column of the table in MySQL, and I have to also link that to the options in the selection list.

 

if you can recommend any tutorials or know what the problem could be would be most appreciated.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.