bueno aqui dice que hay un error de T_VARIABLE, yo se que si, pero no se como se ponen las variables $file...
Código PHP:
<?php
include('Connections/oMsolution.php');
$datos="'".$file."','".$file2."','".$file3."','".$file4."','".$file5."','".$file6."','".$file7."','".$date."'";
//if ($activo=='activo'){$datos.=",'1'";};
//if ($activo<>'activo'){$datos.=",'0'";};
$campos=' (photo='$file',photo2='$file2',photo3='$file3',photo4='$file4',photo5='$file5',photo6='$file6',photo7='$file7',date='$date') ';
$query="UPDATE Carros SET".$campos." VALUES (".$datos.")";
mysql_db_query("motors", $query);
if (mysql_errno()<>0) {
$t='<BR>'.mysql_errno().' : '.mysql_error().'<BR>';
};
echo $t;
?>
Donde ta el errorcito?