Page 1 of 1
Problems with ODBC
Posted: Wed May 22, 2002 8:48 am
by brandon
[removed]
Posted: Wed May 22, 2002 9:06 am
by Matt Wade
Looks like you might have a permissions error with the user you are trying to connect with. That use doesn't have rights to lock the database for its use. Check this microsoft kb article:
http://support.microsoft.com/default.as ... US;q174943
Posted: Wed May 22, 2002 11:16 am
by brandon
[removed]
Posted: Wed May 22, 2002 12:11 pm
by mikeq
I am going to make an assumption that ID is a counter type field.
$query = "INSERT INTO guestbook (date, name, message, ip) VALUES ('$date', '$name', '$message', '$ip')";
leave out the field id.
Mike