RE: [PHP] no worky :|

2003-04-03 Thread John W. Holmes
> thanks for pointing that out yeah, you're right it was wrong, should > be > "UPDATE news_comments SET WHERE ..." > > since there was already a row. > > ... still can't get it to post to the database though. Then you still have an error in the query or your WHERE clause is not matching

Re: [PHP] no worky :|

2003-04-03 Thread Sebastian
haha, good one! Funny, I have a bad habbit of using "ugh". cheers, - Sebastian - Original Message - From: "Hugh Danaher" <[EMAIL PROTECTED]> | The name's not ugh it's Hugh ; ) | - Original Message - | From: "Sebastian" <[EMAIL PROTECTED]> | > ugh, just when you posted th

Re: [PHP] no worky :|

2003-04-03 Thread Sebastian
03 6:24 PM Subject: Re: [PHP] no worky :| | Where is the query getting the id from? | "" might be needed in your form. | hugh | - Original Message - | From: "Sebastian" <[EMAIL PROTECTED]> | To: "php list" <[EMAIL PROTECTED]> | Sent: Thursday, April

RE: [PHP] no worky :|

2003-04-03 Thread Jennifer Goodie
rying to run it, so you can see what is wrong with it. > -Original Message- > From: Sebastian [mailto:[EMAIL PROTECTED] > Sent: Thursday, April 03, 2003 2:33 PM > To: Jennifer Goodie; php list > Subject: Re: [PHP] no worky :| > > > thanks for pointing that out ye

Re: [PHP] no worky :|

2003-04-03 Thread Sebastian
;Jennifer Goodie" <[EMAIL PROTECTED]> | Have you checked to make sure your query works, the syntax looks really odd. | I've never seen INSERT ... WHERE | | > -Original Message- | > From: Sebastian [mailto:[EMAIL PROTECTED] | > Sent: Thursday, April 03, 2003 2:

RE: [PHP] no worky :|

2003-04-03 Thread Jennifer Goodie
Have you checked to make sure your query works, the syntax looks really odd. I've never seen INSERT ... WHERE > -Original Message- > From: Sebastian [mailto:[EMAIL PROTECTED] > Sent: Thursday, April 03, 2003 2:20 PM > To: php list > Subject: [PHP] no worky :| > >

[PHP] no worky :|

2003-04-03 Thread Sebastian
Hello, This form is really giving me a fight. I am connected to the database, yet it won't submit, Is the form and $_POST's Okay? echo " reason: "; if($_POST[reason]) { $result = $db->sql("INSERT INTO comments (reported, reportedby, reason) VALUES ('1', '$username'