Cita:
Iniciado por harvestmoon
$nfilas1=mysql_num_rows("select * from notaria13_30 where nombre LIKE '%" . $buscar. "%' order by id_abogado asc");
if($nfilas1>0)
{
//instrucciones
}
am reafirmando un poco saludines!!
pues bien bien, no re-afirmaste nada!
ya que el orden correcto, es así...
Código PHP:
$sql = 'SELECT * FROM tabla';
$result = mysql_query($sql) or die(mysql_error());
if (mysql_num_rows($result) > 0)
{
// ...
}