Site Sponsored By: SQLDSC - SQL Server Desired State Configuration
Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
$sql = "INSERT INTO comments (comment, time, user)VALUES('$_POST[message]', "$username", "$time")";
and the error code I get is "Parse error: syntax error, unexpected T_VARIABLE" this is probably a no brainer for you all, but I'm stumped.
webfred
Master Smack Fu Yak Hacker
8781 Posts
Posted - 2012-04-10 : 10:54:39
This is a string concatenating problem in PHP and no SQL problem.Please try it in a PHP forum.No, you're never too old to Yak'n'Roll if you're too young to die.