Posted by linda on 11/21/06 21:04
"MS" <MS@nospam.com> wrote in message
news:85Wdncqr-41Msv7YnZ2dnUVZ8qCdnZ2d@bt.com...
>> $query="SELECT FNAME, LNAME FROM (table) WHERE FNAME=('$FName') AND
>> NAME=('$LName')";
>
> And what does $result contain?
$result=mysql_query($query); /* ask how many rows the query generated and
return that value */
return mysql_num_rows($result);
>
> Should the NAME field be LNAME ?
>
You've already supplied that it the query!
:-)
Best wishes,
Linda
[Back to original message]
|