php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #47319 mysql api
Submitted: 2009-02-05 20:03 UTC Modified: 2009-02-06 00:51 UTC
From: nullhility at gmail dot com Assigned:
Status: Not a bug Package: Feature/Change Request
PHP Version: 5.2.8 OS:
Private report: No CVE-ID: None
 [2009-02-05 20:03 UTC] nullhility at gmail dot com
Description:
------------
I'm sorry this isn't more of a *bug*; is there any chance PHP will support the new functionality mysql 5+ provides, however more in the style the older version provides? I understand that mysqli provides this, but I don't necessarily want to deal with objects and the reason being is that I usually write my own "wrapper" for a site (eg. so I can decide when and what type of Exception to throw) and writing a class definition to deal with an object just seems redundant. I usually end up reverting back to the older mysql api. 

I just find that mysqli isn't all that "improved" and provides less freedom than it's predecessor.

Thanks for your time.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-02-06 00:51 UTC] scottmac@php.net
mysqli provides both OO and non OO.

mysqli_connect() and new mysqli()

Read the manual and look at the samples.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Apr 29 18:01:30 2024 UTC