Ver Mensaje Individual
  #3 (permalink)  
Antiguo 29/03/2003, 09:19
rashid
 
Fecha de Ingreso: enero-2002
Ubicación: Perez Zeledon Costa Rica
Mensajes: 1.009
Antigüedad: 22 años, 3 meses
Puntos: 11
gracias, era cierto, pero lo acabo de cambiar
$checkcTitle = mysql_query("select * from comercials were cTitle=".$title."");
if (!$checkcTitle)
echo "could not execute query";
if (mysql_num_rows($checkcTitle)>0)
return "that Comercial Name (".$title.")is taken -go back and chose another one.";


y nada, me tira
could not execute query
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /bdb3.php on line 70


tonces?????