I can't seem to insert variables into postgresql database. I am coding in PHP. I keep getting a parse error and can't figure out what I'm doing wrong.
Can someone tell me what I may be doing wrong?
INSERT INTO user (firstname) VALUES('$firstname');
Can you show us the code (PHP, I assume) surrounding this?