>
> 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.");
>
Yeah. Don't use die(). die() kills the script. You can use echo to echo a
message, but you'll have to handle any problems the failed query may cause.
JM
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php