Error INSERT INTO trucoss (idn, total, 1) VALUES('2', '1', '001.gif')
MySQL dice: You have an error in your SQL syntax near '1) VALUES('2', '1', '001.gif')' at line 1
Código PHP:
$sql5 = "INSERT INTO trucoss (idn, total, 1) VALUES('".$_POST['idn']."', '1', '".$_FILES['archivo']['name']."')";
$result = mysql_query($sql5) or die("Error $sql5 <br>MySQL dice: ".mysql_error());