RE: [PHP-WIN] Re: ADODB - FieldCount? Where is it????
| From: | Asendorf, John | Date: | Fri, 02 Nov 2001 14:52:14 +0000 |
| Subject: | RE: [PHP-WIN] Re: ADODB - FieldCount? Where is it???? | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-10179@lists.php.net to get a copy of this message | ||
Well now I see it, but I don't understand why the function definition
appears **after** function definitions which use it. But since I'm
including the entire adodb.inc.php file before I use any of the functions
FROM ADODB, it shouldn't be returning an error should it?
I have a common include for these pages that I'm using the adodb.inc.php
functions in and am including the adodb.inc file in a line on this separate
include. Do I need to be including the adodb.inc.php file in each separate
page instead?
right now each page of the app starts out with
------
include ('common_include.inc'); // this include file has a line - include
('adodb.inc.php');
maybe it should be (?)
------
include ('adodb.inc.php');
include ('common_include.inc');
---------------------
John Asendorf - jasendorf@lcounty.com
Web Applications Developer
http://www.lcounty.com - NEW FEATURES ADDED DAILY!
Licking County, Ohio, USA
740-349-3631
Nullum magnum ingenium sine mixtura dementiae fuit
> -----Original Message-----
> From: MrBaseball34 [mailto:mrbaseball34@hotmail.com]
> Sent: Friday, November 02, 2001 9:32 AM
> To: php-windows@lists.php.net
> Subject: [PHP-WIN] Re: ADODB - FieldCount? Where is it????
>
>
> In article
> <24F4A402A861D5118A1A00B0D02203744A3556@exchange.lcounty.com>,
> JAsendorf@lcounty.com says...
> > I'm getting calls to an undefined function in ADODB called
> FieldCount but it
> > doesn't seem to be in the adodb.inc.php
> >
> > Does anyone know where I can find it?
> >
>
> Line 1434 in adodb.inc.php:
>
> function FieldCount() {return $this->_numOfFields;}
>
> Then the _numFields function is defined
> differently depending upon the DB you are using.
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> For additional commands, e-mail: php-windows-help@lists.php.net
> To contact the list administrators, e-mail:
> php-list-admin@lists.php.net
>