Re: [PHP] suppressing errors

2002-07-25 Thread 1LT John W. Holmes
error message wouldn't come from any of the lines above. You're not INSERTing anything, just SELECTing. Are you sure there isn't another mysql_query() somewhere else without an @ in front of it?? ---John Holmes... - Original Message - From: "Preston Wade" <[EMAI

RE: [PHP] suppressing errors

2002-07-25 Thread Preston Wade
ks for the response. Thanks, Preston > -Original Message- > From: "1LT John W. Holmes" <[EMAIL PROTECTED]>@INTERNET@HHC > Sent: Thursday, July 25, 2002 2:53 PM > To: Preston Wade; [EMAIL PROTECTED] > Subject: Re: [PHP] suppressing errors > >

Re: [PHP] suppressing errors

2002-07-25 Thread 1LT John W. Holmes
What is the error you get? ---John Holmes... - Original Message - From: "Preston Wade" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, July 25, 2002 3:20 PM Subject: [PHP] suppressing errors > Hello All, > > I am trying to use the "@&qu

[PHP] suppressing errors

2002-07-25 Thread Preston Wade
Hello All, I am trying to use the "@" symbol to suppress errors returned by a mysql_query call. This doesn't seem to be working as I get an new page with the error in it in my browser. Any help with this would be greatly appreciated. Here is a snippet of the code I am using $query = "se

Re: [PHP] suppressing errors with "@"

2002-07-06 Thread Uri Even-Chen
Thanks! I also think it might be a bug. I reported it as a bug report. Uri. Miguel Cruz wrote: > > On Sat, 6 Jul 2002, Uri Even-Chen wrote: > > I tried to suppress warnings in isset expressions (Uninitialized string > > offset warnings).

Re: [PHP] suppressing errors with "@"

2002-07-05 Thread Miguel Cruz
On Sat, 6 Jul 2002, Uri Even-Chen wrote: > I tried to suppress warnings in isset expressions (Uninitialized string > offset warnings). The original line was something like this: > > if (!(isset($GLOBALS['SPEEDY_GLOBAL_VARS']['PAGE_NAME']))) > > When I added the "@" sign like this: > > if (!(is

[PHP] suppressing errors with "@"

2002-07-05 Thread Uri Even-Chen
Hi, I tried to suppress warnings in isset expressions (Uninitialized string offset warnings). The original line was something like this: if (!(isset($GLOBALS['SPEEDY_GLOBAL_VARS']['PAGE_NAME']))) When I added the "@" sign like this: if (!(isset(@$GLOBALS['SPEEDY_GLOBAL_VARS']['PAGE_NAME'])))