- Joined
- Apr 30, 2007
- Messages
- 2,339
- Reaction score
- 1,547
The code that's wrong is :
And the error is :
Can you please help me? It's been pissing me off for ages, and i'm too tired to think properly.
PHP:
dbquery("INSERT INTO cms_alerts (alert,author) VALUES ('"' .clean($_POST['hatext']). '", "'.USER_NAME.'"')");
And the error is :
Code:
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in C:\xampp\htdocs\manage\pages\ha.php on line 21
Can you please help me? It's been pissing me off for ages, and i'm too tired to think properly.