FAQ
Edit report at http://pear.php.net/bugs/bug.php?id=18685&edit=1

ID: 18685
Updated by: daniel.oconnor@gmail.com
Reported By: lesblueleaves at gmail dot com
Summary: got a error when try to run the demo code in
MDB2_TableBrowser_Advanced Usage
-Status: Open
+Status: Duplicate
Type: Bug
Package: MDB2_TableBrowser
Operating System: win xp
Package Version: 0.1.2
PHP Version: 5.3.6
Roadmap Versions:
New Comment:

-Status: Open
+Status: Duplicate
Bug #18684


Previous Comments:
------------------------------------------------------------------------

[2011-07-25 08:42:51] lesblueleaves

Description:
------------
when w try to run the demo which you've given in
MDB2_TableBrowser_Advanced Usage.
here's the concering code:
//Hide the ID column and rename the column "TYPE" to "Animal Type"
$browser->selectColumns(array('name','type','lifespan'));
$browser->setColumnAlias('TYPE', 'ANIMAL TYPE');
$browser->getRows('name', 3, 5);
print "\n" . $browser->getLastSQL();
//Prints:SELECT `NAME`,`TYPE` AS `ANIMAL TYPE`,`LIFESPAN` FROM
tbl_animals
FATAL?ERROR:Object of class MDB2_TableBrowser_TableValidator could not
be converted to string in
C:\\PHP\\PEAR\\MDB2\\TableBrowser\\TableValidator.php on line 70

------------------------------------------------------------------------

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
categoriesphp
postedJul 30, '11 at 9:01a
activeJul 30, '11 at 9:01a
posts1
users1
websitepear.php.net

1 user in discussion

Daniel Oconnor: 1 post

People

Translate

site design / logo © 2021 Grokbase