viveknarula — 2011-09-03T05:50:33-04:00 — #1
Can anyone suggest me a good open source class which uses functions such as Insert, update using MySqli ?
chris_upjohn — 2011-09-05T10:12:44-04:00 — #2
I agree 100% with the182guy, creating your own small extension would be a lot faster and more efficient then using a 3rd party script. Have a look at the following page for an easy solution to extending the MySQLi class PHP: mysqli::__construct - Manual
the182guy — 2011-09-05T04:08:46-04:00 — #3
Why do you need a wrapper? MySQLi is easy enough to use. If you need specific added functions then why not just extend MySQLi yourself?
viveknarula — 2011-09-05T03:36:05-04:00 — #4
Thanks for your reply,
Basically, i am looking for wrapper class for MySqli.
Does anyone here has used such kind of class ?
michael_morris1 — 2011-09-05T11:08:17-04:00 — #5
Are you looking for an ORM such as Doctrine perhaps? Your question is confusing because the inbuilt mysqli class is fully capable of executing SQL statments of any type for you, though I'll echo Anthony's suggestion to use PDO instead of it since PDO is less database specific.
anthonysterling — 2011-09-03T08:41:47-04:00 — #6
chris_upjohn — 2011-09-03T08:15:33-04:00 — #7
You don't need any 3rd party classes as such because MySQLi in PHP is a class, see the following link.
PHP: Mysqli - Manual