Here is my source::

$user = "macre";
$pass = **;
$dbname = "
**";
$dbhost = "localhost";
$db=mysql_connect("$dbhost","$user","$pass") or die ("Can't connect to mySQL server");
mysql_db_query ($dbname,"Insert into rs_members (rsname,pass,main,aim,charname,race,class,d1,d2,d3
,job) value ('$rsnamec','$mailc','$passwordc','$aimc','$charna
mec','$racec','$classc',$d1c,$d2c,'$d3c',$jobc)",$db) or die (mysql_error());

Here is my error message::
You have an error in your SQL syntax near 'value ('lkjhLKJH','klh','kljh','lkh','lkjh','lkjh','kljh
',kh,lk,'hlkh',gfhfgh)' at line 1

o and the jibberish is what was usbmited by the form. Thats not whta im havign a problem with.

    • [deleted]

    value should be values

      Write a Reply...