Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][tlug] PHP functions to create MySQL syntax? (was: Do you whitelist or blacklist utf-8?)
- Date: Thu, 24 Feb 2011 00:54:25 +0900
- From: Dave M G <dave@example.com>
- Subject: [tlug] PHP functions to create MySQL syntax? (was: Do you whitelist or blacklist utf-8?)
- References: <4D639689.1010302@example.com> <4D63EFBC.1020900@example.com> <4D64E948.2020703@example.com>
- User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101208 Thunderbird/3.1.7
Peter, Thanks for replying. > Never build your SQL-queries by String-concatenation. > Instead, use the mechanisms that your progamming environment provides. After reading this, I've been looking around the PHP manual, and I don't see any "mechanisms" for constructing SQL queries. All the examples in the MySQL function list take concatenated strings as arguments to send to the MySQL server. http://www.php.net/manual/en/ref.mysql.php Surely if any language had MySQL syntax constructors it would be PHP.... no? Am I not seeing them? -- Dave M G
- Follow-Ups:
- References:
- [tlug] Do you whitelist or blacklist utf-8?
- From: Dave M G
- Re: [tlug] Do you whitelist or blacklist utf-8?
- From: Shmuel Fomberg
- Re: [tlug] Do you whitelist or blacklist utf-8?
- From: Peter Brandt
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Do you whitelist or blacklist utf-8?
- Next by Date: Re: [tlug] Do you whitelist or blacklist utf-8?
- Previous by thread: Re: [tlug] Do you whitelist or blacklist utf-8?
- Next by thread: Re: [tlug] PHP functions to create MySQL syntax? (was: Do you whitelist or blacklist utf-8?)
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links