Código PHP:
Ver original
$recetas= $_GET['txtReceta'];?> <H4><?php echo $recetas?></H4> <?php $codrec = mysql_query("SELECT NOMBRE FROM receta WHERE NOMBRE like \'%'.$recetas.'%\'")or die (mysql_error()); ?>
El error:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '\'%'.ARROZ.'%\'' at line 1
La variable se recibe correctamente (txtReceta). Gracias por la ayuda.