Originally posted by philvia
$query="INSERT INTO link (linkid,linkname,linkdesc,user) VALUES ('".$linkid."','".$linkname."','".$linkdesc."')";
$dbresult=mysql_query($query);
[/code] [/B]
I would write this query like this:
$query="INSERT INTO link (linkid,linkname,linkdesc,user) VALUES ('$linkid','$linkname','$linkdesc','')";
and you can do little check by adding this after your mysql_query command:
echo mysql_error();
If there is error, it will be printed to screen otherwise it is empty.
I hope this helps.