les muestro mi codigo...
Código PHP:
$busca=$ppresup."%";
$query_Recordset2 = "select * from reque_dev where llave like='".$busca."' and anio='".$anio."' ";
$Recordset2 = mysql_query($query_Recordset2, $conex) or die(mysql_error());
$row_Recordset2 = mysql_fetch_assoc($Recordset2);
$totalRows_Recordset2 = mysql_num_rows($Recordset2);
Código HTML:
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 '='%11AD0900QA417500' and anio='2006'' at line 1
gracias...