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 hours pissing around for an > oversight. > > TIA >
> mysql_query ("INSERT INTO userdata (email, passwd, firstname, alias) VALUES > ('$entered_email','$entered_passwd','$name','Hello')"); > or die('<P>Database error :', mysql_errno(), mysql_error(), '<BR>'); Regards, -- Don Read [EMAIL PROTECTED] -- It's always darkest before the dawn. So if you are going to steal the neighbor's newspaper, that's the time to do it. (53kr33t w0rdz: sql table query) -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]