Fwd: Re: [PHP] mysql adapter and DAL
| From: | Nilesh Govindarajan | Date: | Sat, 17 Sep 2011 14:02:53 +0000 |
| Subject: | Fwd: Re: [PHP] mysql adapter and DAL | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-314922@lists.php.net to get a copy of this message | ||
Sorry, I clicked the 'reply' button instead of reply to all.
-------- Original Message --------
Subject: Re: [PHP] mysql adapter and DAL
Date: Sat, 17 Sep 2011 19:07:48 +0530
From: Nilesh Govindarajan <contact@nileshgr.com>
To: shahrzad khorrami <shahrzad.khorrami@gmail.com>
On Sat 17 Sep 2011 04:54:13 PM IST, shahrzad khorrami wrote:
> hi all,
> I'm looking for a mysql adapter for create my dal..
> where can I find a good one? and have you ever written a dal with a mysql
> adapter?
> in my dal I want to pass parameters to sql sting, for example like
> following:
> $db->query($sql, array($name, $family))
>
> thanks,
> Shahrzad Khorrami
>
Why do you want to reinvent the wheel?
There are many Database Abstraction Layer packages which support MySQL.
Pear::MDB2, Zend_Db, CodeIgniter, ... the list doesn't end. Search for
them!
--
Nilesh Govindarajan
http://nileshgr.com
--
Nilesh Govindarajan
http://nileshgr.com