Jump to content

[SOLVED] Searching a MySQL DB


pugboy

Recommended Posts

I need to look up a value in a MySQL db...

 

I have a table with the columns word and md5

 

I can search for the md5 by using "$query = "select * from visitors WHERE Name='$search'";" (I think), but how do I get the word corresponding with the md5?

 

Am I using the query correctly, and how would I get the word that equals the md5 in the query?

Link to comment
https://forums.phpfreaks.com/topic/112246-solved-searching-a-mysql-db/
Share on other sites

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.