Forum Moderators: coopster
Basic lowdown, I know that I have two records with "Chinese" in the cuisine field. Some have more than one type in the cuisine field, that is why I'm using LIKE. But I'm only getting one entry returned to me from my script.
I feel like a big dummy for even asking, and am sure this is just one tiny thing that needs to be changed. VERY new at this.
Here's that section of code:
$result = mysql_query("SELECT * FROM jeffcodiningcom_jeffcodining
WHERE cuisine LIKE '%Chinese%'") or die(mysql_error());
$row = mysql_fetch_array( $result );
echo $row['name']." <br> ".$row['phone'];
Thanks so much! :)