Hi,

If I were to have something like the following, what is the best way (or
best practice) to reload the page and display the error - or is there a
better way to do this. I want to keep the site uniform and don't want errors
popping up and making a mess.

Thanks

B

---------------------

        $query = "select idn, name from manager order by name";
        $results = mysql_query($query) or $mysqlerror = mysql_error();
        if ($mysqlerror) { 
        $error = "$table_error$mysqlerror";
                include("season.php"); - This is not what I really want and
in                                                               some cases
it cause problems.
                exit;
        }       
        else {  
                The rest of the code....
        }

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to