Permabanned
- Joined
- 25 Oct 2004
- Posts
- 9,078
Hiya, anyone help me out with the below SQL query for some reason its throwing out an invalid syntax error but i cant see anything wrong.
PHP:
$query = "INSERT INTO newsfeed "
. "(title, description, pubdate, url) "
. "VALUES (".addslashes($news_title).",".addslashes($news_lead).",$pubdate, $news_link_url)";