Jump to content

How to search mysql database and display results according to query?


jdock1

Recommended Posts

Say a user puts in a support request, and for every request it generates a unqiue string, and enters it into the database.

 

Ok, now say there is a text field, when the user enters their unique string and it finds a match, it displays the data along with it.

 

How can I accomplish this? Im kind of new to mysql, but I know basic SQL.

 

Would be great if somebody could point me in the right direction!

 

Thanks

No.. I no all of that, I just dont know the SQL to use a search with mysql and displaying a row of data by entering the ID which is a value in the row.

 

Say there are two rows, request_id & msg. The request ID is 28fj3k2. I enter that into a text field, I want to display the other value in the row of that table in the database. I jsut do not know the correct query for that.

 

Anybody?

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.