Jump to content

insert into syntax error


greenbman

Recommended Posts

Ok I am getting this error:

Deprecated: Function sql_regcase() is deprecated in /home/u309930328/public_html/funcvars/libfunc.php on line 17 Deprecated: Function sql_regcase() is deprecated in /home/u309930328/public_html/funcvars/libfunc.php on line 17 Deprecated: Function sql_regcase() is deprecated in /home/u309930328/public_html/funcvars/libfunc.php on line 17 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 ''firstName', 'hear', 'message') VALUES('', '', '')' at line 1

 

 

from this code:

INSERT INTO reff ('firstName', 'hear', 'message') VALUES('{$fname}', '{$ham}', '{$message}');

Link to comment
https://forums.phpfreaks.com/topic/274367-insert-into-syntax-error/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.