Código PHP:
<?PHP
$name = $_REQUEST["name"];
$mail = $_REQUEST["mail"];
$coment = $_REQUEST["coment"];
$idimg = $_REQUEST["idimg"];
$intro = (NULL . ", " . $idimg . ", " . $name . ", " . $coment . ", " . $mail);
$conexion = mysql_connect("localhost", "XXXXXX", "XXXXXX");
mysql_select_db ("daxx13_lfdao");
$intro = mysql_query ("INSERT INTO comentarios (idcom, idimg, nombre, comentario, email) VALUES (" . $intro . ")") or die("error!");
?>
He probado muchas combinaciones (llevo 2 horas de probar y probar) y no he conseguido insertar NADA. Una ayudita... :)
Gracias!