Re: [PHP] error message handling

2001-01-17 Thread Alex Black
> You probably want to suppress the error message with an @ symbol. Try > putting an "@" before the function calls that give you errors. you want to avoid doing that, I recommend properly handling the error. > $x = @php_function_here(); > ?> > > This suppresses the error function. Many funct

RE: [PHP] error message handling

2001-01-17 Thread Benjamin Munoz
You probably want to suppress the error message with an @ symbol. Try putting an "@" before the function calls that give you errors. This suppresses the error function. Many functions return FALSE if unsuccessful, so you can test and supply your own error message. If you find yourself d