I am trying to query my database for a first name and display the result. This is for the users of the association to search for members.
$qry = "select FIRST_NAME,LAST_NAME,CITY,EMAIL from SA_REGISTRATION where FIRST_NAME = "'.S_POST["FIRST_NAME"]'";
echo '@mysql_query($qry)';
I am a newbie to PHP and am not familiar with SQL either... please help me
Habtom
9:05 am on Oct 16, 2007 (gmt 0)
I have made a couple of changes on your sql query: $qry = "SELECT FIRST_NAME,LAST_NAME,CITY,EMAIL from SA_REGISTRATION where FIRST_NAME = "'.$_POST['FIRST_NAME']'"";