I'm trying to use the above but am unable to. How do I format the above so that I can use it? Basically I'm trying to insert values of $_POST[] into blogentries. Thanks!PHP Code:$query = 'INSERT INTO `blogentries` VALUES (\'\', '.$_POST['title'].', '.$_POST['post'].', '.$_POST['date'].', '.$_POST['author'].', '.$_POST['mood'].')';




), there is no difference using them in your script the way you do at the moment than from using a standard variable. Syntax wise your code is correct.





Bookmarks