Ver Mensaje Individual
  #1 (permalink)  
Antiguo 01/05/2008, 18:42
p2pdownloading
Invitado
 
Mensajes: n/a
Puntos:
por que puede ejecutarse if(!$variable)

Código PHP:
    $sql mysql_query("INSERT INTO ".DB_PREFIX."downloads(sticky, dName, dDesc, dDesc2, author, email, version, thumb, sShot, sShot1, sShot2, sShot3, sShot4, sShot5, dateAdd, count, lastDown, license, url, mirror, mirror2, uploader, approved, cID, rating, times)
    VALUES('0', '"
.$dName."', '".$dDesc."','".$dDesc2."', '".$author."', '".$aemail."', '".$version."', '".$thumb."', '".$sShot."', '".$sShot1."', '".$sShot2."', '".$sShot3."', '".$sShot4."', '".$sShot5."', '".$dateAdd."', '".$count."', '".$lastDown."', '".$lID."', '".$url."', 
    '"
.$mirror1."', '".$mirror2."', '".$uID."', '".$approved."', '".$cID."','".$rating."','".$times."')");    
    

if(!
$sql){ 
hola quisiera saber porque se ejecuta este if(!$sql)

saludos