Re: [PHP4BETA] PEAR db abstraction

From: Date: Wed, 17 May 2000 12:09:34 +0000
Subject: Re: [PHP4BETA] PEAR db abstraction
Groups: php.version4 
Request: Send a blank email to php-version4+get-15117@lists.php.net to get a copy of this message
On Tue, 16 May 2000 23:23:58 -0400, "PHP4 List" <dbrogdon@buytrek.com> wrote: > > Nevermind, I figured it out. Gotta do a 'use("DB")' as well. > > But I am getting a strange error in some test scripts where I'm using the DB > classes. Has anybody ever come across the following error?: > > Fatal error: input in flex scanner failed in DB on line 1 > > Looks to me like a PHP or Zend bug since line 1 of DB.php is a comment. > Chances are that this is beening generated by an eval statement, so the 'line 1' doesnt refer to line one of DB.php but to 'line 1' of the string being evaluated. Maybe something more informative would be useful for reporting errors produced by eval ?? Have a look through DB.php for the statement 'import' and replace it with 'use', I found this worked. regards, Alan

« previous php.version4 (#15117) next »