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?

 

On Saturday 28 July 2007 11:47, Kevin Tunison wrote:
> Try google code search instead -  that will allow @ searches.  or use "at
> symbol"
>
> Maybe it is to prevent email scouring.
>
> On 7/25/07, Simon Williams <simon@xxxxxxxxxxxxxxxxxxx> 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

If you use the quotation marks, then a search on the main Google UK site will 
bring up hits - 

"@mysql_select_db($dbname) or die( "Error: Unable to select database");"

gives hits with the "@" symbol and without. No hits in Google/linux though!

Mark

-- 
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