<?
$dbserver="localhost";
$dbuser="dmi";
$dbpass="axoe";
$dbname="auro";
$connection=mysql_pconnect($dbserver,$dbuser,$dbpass);
mysql_select_db($dbname);
$outcome=mysql_query("INSERT INTO surveys_lv (
'$_POST[2]',
'$_POST[te]',
'$_POST[5]',
'$_POST',
'$_POST[a]',
'$_POST',
'$_POST[c]',
'$_POST[d]',
'$_POST[e]',
'$_POST[1]',
'$_POST[1]',
'$_POST[1]',
'$_POST[1]',
'$_POST[1]')");
if (!$outcome){echo mysql_error();}
?>
pievienoju mysql_error() un nonjeemu @
izdeva:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''2', '', '', '', '', '', '', '', '', '', '', '', '', '')' at line 2
kas tas ir nesaprotu
Kods kas augshpus ir kaa uz servera