Query part of a MySQL return
Posted: Fri May 26, 2006 11:15 pm
Ok, I think my brain is officially off being memorial day weekend or something but I'm trying to do a simple database query but I want to search through the query results to see if all or "part" of the results match my query. I can get the "all" part with a normal query (like below) but how do I search to see if only part of the retults match?
$my_link_query = mysql_query( "SELECT * FROM mydb WHERE link_name='$query'" );
Thanks,
Jr-
$my_link_query = mysql_query( "SELECT * FROM mydb WHERE link_name='$query'" );
Thanks,
Jr-