Paul Van Der Vlis wrote: > Hello, > > I have problems with some pages which work fine under Linux (with > different program versions). The problem is, that when I am too slow (5 > minutes?), the information from a PHP page is not always saved in the > MySQL database. Does somebody know more about this problem? > > PHP 4.06 > Apache 1.3.20 > MySQL 3.23.34 > > With regards, > Paul van der Vlis. >
Hello, I have the following extra information: When I use "if($result = mysql_query($sql)) { }" twice, it will always save in de MySQL database: ---- #update record $sql ="UPDATE $usetablegoals SET SecGain = '$qSecGain' WHERE GoalID = '$GoalID'"; if($result = mysql_query($sql)) { } if($result = mysql_query($sql)) { } ---- With regards, Paul van der Vlis. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php