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
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.

 

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.