Failed MySQL queries
| From: | Ben Miller | Date: | Wed, 05 Apr 2006 18:55:54 +0000 |
| Subject: | Failed MySQL queries | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-233295@lists.php.net to get a copy of this message | ||
Rather than using the following, which simply displays a white screen with
the die message, is there a way to add the die message to the body of the
original form page, such as in a variable, so that I can display the message
on the original form page with all the values already filled out, so that
all the user has to do is resubmit?
$result = mysql_query($query)
or die("User Account could not be created. Please try again
later.");