Re: [PHP] script error

2004-08-02 Thread Andre Dubuc
> From: John Holmes > Date: 08/02/04 13:45:22 > To: me2resh > Cc: [EMAIL PROTECTED] > Subject: Re: [PHP] script error > > > $query = "insert into 'posts' ( `post_id` , `post_title` , `post_date` , > > `post_author` , `post_content` , `m_c

Re: [PHP] script error

2004-08-02 Thread me2resh
  how can i fix it ?   ---Original Message---   From: John Holmes Date: 08/02/04 13:45:22 To: me2resh Cc: [EMAIL PROTECTED] Subject: Re: [PHP] script error   > $query = "insert into 'posts' ( `post_id` , `post_title` , `post_date` , > `post_author` , `post_content` ,

Re: [PHP] script error

2004-08-02 Thread John Holmes
$query = "insert into 'posts' ( `post_id` , `post_title` , `post_date` , `post_author` , `post_content` , `m_cat_id` , `s_cat_id` , `post_pic`) values (\'\', \'$post_title, \'$post_title, \'$post_author, \'$post_content, \'\', \'\', \'subject.gif\' )"; mysql_query($query); Change that last line

[PHP] script error

2004-08-02 Thread me2resh
i am using this script as a form to enter articles into databas, the variable post_content comes from wysiwyg script but when i execute the script everything goes fine except it doesn't insert any rown in the databse can anyone tell me what is wrong with my code ?               $post_title