Re: question about best practice for coding sql statements
| From: | tamouse mailing lists | Date: | Sun, 13 Nov 2011 07:03:36 +0000 |
| Subject: | Re: question about best practice for coding sql statements | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-315664@lists.php.net to get a copy of this message | ||
On Sat, Nov 12, 2011 at 7:01 AM, Stephen <stephen-d@rogers.com> wrote:
> While I am not a big fan of OOP, I do like PDO, and recommend its use.
Right -- I wasn't actually inquiring about how to access a data base,
merely the pactice of using a variable for the SQL -- In your example,
you are doing this as well, which fits in fine with what I was
enquiring about.