D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Google escape character- What does @ do in PHP?

 

Simon Williams wrote:
> This is mad!
> I cannot for the life of me find out what google uses as an escape 
> character. I'm trying to put an "@" in the search, but google just 
> ignores it.
> 
> The reason is that I have a line which looks like this:
> 
> @mysql_select_db($dbname) or die( "Error: Unable to select database");
> 
> It works, but I want to know what the @ does and why it is there.
> 
> Thanks
> Simon
> 

In php is suppresses the php error handling being triggered.  No idea 
how to escape it in google though.

W

-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html