Posted by Philip Hallstrom on 10/24/69 11:14
On Fri, 15 Apr 2005, Frank Miller wrote:
> All,
>
> I have a form which submits technical requests. It worked fine on an
> old linux box using Mysql 3 series but recently we switched to windows
> 2003 server SP1 using Mysql 4.1.10. It was doing this before the
> service pack. I get the form values and then insert them into a table.
> Sometimes it works and sometimes it dies. I don't know where to look
> to fix this. Here is my code:
[snip]
Take a look at the following functions:
http://us4.php.net/manual/en/function.mysql-errno.php
http://us4.php.net/manual/en/function.mysql-error.php
and modify your die() statements (all of them) to include the output of
these functions which might shed some light on exactly what the problem is
when it's failing.
Good luck!
-philip
[Back to original message]
|