Re: Fw: Help, Insert not working.

2003-03-27 Thread C. Reeve
ve" <[EMAIL PROTECTED]> Cc: "MySQL List" <[EMAIL PROTECTED]> Sent: Thursday, March 27, 2003 9:32 AM Subject: Re: Fw: Help, Insert not working. > Try reading your return codes. > You got a duplicate key error that you were ignoring. > C. Reeve wrote: > > >

Re: Help, Insert not working.

2003-03-27 Thread Dimitar Haralanov
On Thu, 27 Mar 2003 01:47:59 -0500 C. Reeve wrote: > Nothing happens. > > mysql_query ("INSERT INTO userdata (email, passwd, firstname) VALUES > ('$entered_email','$entered_passwd','$name')"); mysql_query return a value. What is that value? Is the user that you are conne

RE: Fw: Help, Insert not working.

2003-03-27 Thread Don Read
On 27-Mar-2003 C. Reeve wrote: > I got it - stupid me has a unique field that I wasn't using in the test > script I was using - so every I tried to add an entry this field was a > duplicate and as such did not add the record. Is there a way to put > something in so mysql would tell me this - 2 ho

Re: Fw: Help, Insert not working.

2003-03-27 Thread gerald_clark
. Is there a way to put something in so mysql would tell me this - 2 hours pissing around for an oversight. TIA - Original Message - From: "C. Reeve" <[EMAIL PROTECTED]> To: "MySQL List" <[EMAIL PROTECTED]> Sent: Thursday, March 27, 2003 1:47 AM Subject: He

Fw: Help, Insert not working.

2003-03-26 Thread C. Reeve
sight. TIA - Original Message - From: "C. Reeve" <[EMAIL PROTECTED]> To: "MySQL List" <[EMAIL PROTECTED]> Sent: Thursday, March 27, 2003 1:47 AM Subject: Help, Insert not working. > Can anyone explain why this isn't working? It will not input the info

Help, Insert not working.

2003-03-26 Thread C. Reeve
Can anyone explain why this isn't working? It will not input the info into the database. $db = mysql_connect($serverhost, $serveruser, $serverpass); mysql_select_db($database_name); The variables in the above two rows are correct - I can do selects and it works fine. This is the data to be inser