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?????