Ver Mensaje Individual
  #4 (permalink)  
Antiguo 30/03/2009, 09:41
Avatar de pateketrueke
pateketrueke
Modernizr
 
Fecha de Ingreso: abril-2008
Ubicación: Mexihco-Tenochtitlan
Mensajes: 26.399
Antigüedad: 16 años
Puntos: 2534
Respuesta: isset() y != "" para mysql_query

Cita:
Iniciado por harvestmoon Ver Mensaje
$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)
{
  
// ...

__________________
Y U NO RTFM? щ(ºдºщ)

No atiendo por MP nada que no sea personal.