better yet - why not fix the error so it doesn't come up at all? ;-) Since these are just warning messages, try setting the error mode to not display warnings or notices. Place this somewhere at the top of your script.
error_reporting(E_ALL ^ (E_NOTICE | E_WARNING)); cc Nate wrote: > You could either store the error message in a database for later viewing, or > have the error message emailed to you while displaying a 'nice' error > message to the user/client. > > Nate > > Community email addresses: Post message: [email protected] Subscribe: [EMAIL PROTECTED] Unsubscribe: [EMAIL PROTECTED] List owner: [EMAIL PROTECTED] Shortcut URL to this page: http://groups.yahoo.com/group/php-list Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/php-list/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
