Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SQL Query

Status
Not open for further replies.

KMinor

MIS
Jun 7, 2001
3
US
I am trying to write a MySQL query that has more than one WHERE statement using "or" .Can some one help?

$result= mysql_query ("SELECT * FROM $tablename WHERE Social_Security $
LIKE'%".$HTTP_POST_VARS["name"]."%'");
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top