MySQL Forums
Forum List  »  PHP

Can anyone tell me why this throws a parse error on the 5th line?
Posted by: dex 002
Date: May 13, 2005 05:02AM

mysql_connect("67.18.163.196",$user,$password);
@mysql_select_db($database) or die("Unable to select database");
$headline = $_POST['headline'];
$story = $_POST['story'];
mysql_query(insert into news values (null, $headline, $story, null));
?>

Options: ReplyQuote


Subject
Written By
Posted
Can anyone tell me why this throws a parse error on the 5th line?
May 13, 2005 05:02AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.