Cita:
Iniciado por pateketrueke
La sintaxis de SQL que estás utilizando está mal, revisa una referencia.
Perdon eso es una prueba que hice, lo puse bien i me dice lo mismo:
Código PHP:
$insertSQL = sprintf("INSERT INTO release(Usuario, Release, Autor, Autor2, Autor3, Autor4, Corto, Corto2, Corto3, Corto4, Genero, Archivo) VALUES(%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)",
GetSQLValueString($_POST['Usuario'], "text"),
GetSQLValueString($_POST['Release'], "text"),
GetSQLValueString($_POST['Autor'], "text"),
GetSQLValueString($_POST['Autor2'], "text"),
GetSQLValueString($_POST['Autor3'], "text"),
GetSQLValueString($_POST['Autor4'], "text"),
GetSQLValueString($_POST['Corto'], "text"),
GetSQLValueString($_POST['Corto2'], "text"),
GetSQLValueString($_POST['Corto3'], "text"),
GetSQLValueString($_POST['Corto4'], "text"),
GetSQLValueString($_POST['Genero'], "text"),
GetSQLValueString($_FILES['Archivo']['name'], "text"));