For Programmers: Free Programming Magazines  


Home > Archive > PHP Pear > June 2006 > Re: [PEAR] MDB2, MySQL, numRows()









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [PEAR] MDB2, MySQL, numRows()
Raphaël Gertz

2006-06-28, 6:59 pm

brian

2006-06-28, 6:59 pm

Raphaël Gertz wrote:
>
>
> Works fine on my box (getOne/getAll), are you sure to have the latest
> version ?
> (older simply don't works here)
>
> Did you think to load the Extension ?
> $mdb2->loadModule('Extended');
>
> before using the numRow function ?
> (this is somewhere in the doc, and should be shown in the example, I didn't
> get time to bug report it against doc)


Yes, i have this right after connection:

$mdb2->loadModule('Extended');

I didn't mention it because i don't think numRows() is part of the
extended module. I can confirm that extended /does/ work though, as i've
used other parts of it with no problems.

All of my PEAR packages are up to date, as well.

PEAR 1.4.9
MDB2 2.1.0
MDB2_Driver_mysql 1.1.0

brian
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com