Re: a simple question about PHP extension: using user function in my own extension
| From: | Pierre Joye | Date: | Wed, 05 Dec 2012 21:45:18 +0000 |
| Subject: | Re: a simple question about PHP extension: using user function in my own extension | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-64162@lists.php.net to get a copy of this message | ||
hi,
On Wed, Dec 5, 2012 at 12:18 PM, Amir <admin@ecdcconference.org> wrote:
> Hi
> I am trying to build an PHP extension for my personal project.
> For some reason. I want to build some part of my project with extension.
> So, I can make a connection via my extension as you can see below my c++
> source code.
>
> Cause of poor document, I confused with zend engine source code and c++ and
> relations with php.
> I just have a simple question, how can I use mysql funtions work with query
> and process it like:
> mysql_query
> mysql_fetch_assoc
> and ...
I would suggest to look at the mysqli driver, using mysqlnd as backend
instead of calling user land functions. Mysqlnd is the common
underlying layer for all mysql extensions.
Cheers,
--
Pierre
@pierrejoye