Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!weretis.net!feeder1.news.weretis.net!news.solani.org!.POSTED!not-for-mail From: Thomas 'PointedEars' Lahn Newsgroups: comp.lang.php Subject: Re: Pulling ad-hoc data from a database into a PHP web page Date: Sun, 09 Nov 2014 08:09:54 +0100 Organization: PointedEars Software (PES) Lines: 20 Message-ID: <3401618.Hf70nlnESd@PointedEars.de> References: <87oaskxriy.fsf@ahungry.com> <87h9ycxpm3.fsf@ahungry.com> <3693164.6Vf9FE9H4r@PointedEars.de> <871tpdxgia.fsf@ahungry.com> Reply-To: Thomas 'PointedEars' Lahn Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8Bit X-Trace: solani.org 1415516995 2798 eJwNyMkBwCAIBMCWAsKylsOh/Zdg5jm+IOgwOMyvX06A1tRlu2KEer4YcthpJxVtkv+PY5dPPRDtERU= (9 Nov 2014 07:09:55 GMT) X-Complaints-To: abuse@news.solani.org NNTP-Posting-Date: Sun, 9 Nov 2014 07:09:55 +0000 (UTC) User-Agent: KNode/4.14.2 X-User-ID: eJwFwYEBwDAEBMCVJDw6DuL3H6F3UD8+YQ43EMxdo6jeK4KSJkZ7M/iJc9dHC6fyFewtIyv6GeA9ibWLH1+jFfU= Cancel-Lock: sha1:u3jVx8a8Y53kIbozxpfXYqVehPI= X-NNTP-Posting-Host: eJwFwQERACAIA8BKomyMOChH/wj+49D4wgk6BhO4K92sXYBaGYMb1rZZJ9NfsTzVBS1p1wcAHxAr Xref: csiph.com comp.lang.php:14513 Matthew Carter wrote: > Thomas 'PointedEars' Lahn writes: >> Matthew Carter wrote: >>> You can get around reserved words in mysql via backticks, such as >>> referring to key as `key`, but to avoid confusion, sticking to >>> non-reserved words is normally easier. >> >> Your logic is flawed. You cannot know which words *will* be reserved. >> […] > > Why can't you know which are reserved words? The emphasized key word is “will”. -- PointedEars Zend Certified PHP Engineer Twitter: @PointedEars2 Please do not Cc: me. / Bitte keine Kopien per E-Mail.