I have a PHP/mysql form that occasionally fails. The particular piece that fails is:
// Existing email address - update record with latest info and save prior data in history field.
$result = mysql_query("REPLACE INTO $userstable VALUES('$ID','$cur_date','$download','$email','$assist','$emailcontactname','$emailcontactphone','$group_size','$zipcode','$how_find', '$specialty','$comments','$userinfo','$history', '$countdownload', '$countday', '$autocountemail')",$db) or die ("<center><h3>Unable to update the data in row. Please try again in a bit.</h3></center>");
We sometimes get the "or die" response, but not often. How can I track this issue down?
Thanks -- Tony