hola tengo un script que sube los datos de un form a una bd, pero me arroja un error cada vez que llega a esta parte, no entiendo todabia cual es el problema.
las variables $sShot .... todabia no estan definidas puede ser eso ?
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)
{
$upload_page = "{*UP_FAIL*}