cvs: php4 /pear/DB/tests tableinfo.inc

From: Date: Mon, 31 Dec 2001 19:11:22 +0000
Subject: cvs: php4 /pear/DB/tests tableinfo.inc
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-1785@lists.php.net to get a copy of this message
cox Mon Dec 31 14:11:22 2001 EDT Modified files: /php4/pear/DB/tests tableinfo.inc Log: E_ALL fixes Index: php4/pear/DB/tests/tableinfo.inc diff -u php4/pear/DB/tests/tableinfo.inc:1.2 php4/pear/DB/tests/tableinfo.inc:1.3 --- php4/pear/DB/tests/tableinfo.inc:1.2 Sat Jul 21 20:30:15 2001 +++ php4/pear/DB/tests/tableinfo.inc Mon Dec 31 14:11:21 2001 @@ -35,7 +35,7 @@ print "\nnum_fields:\n"; print "$tableInfo[num_fields]\n" ; print "\norder:\n"; -print_foreach($tableInfo[order]) ; +print_foreach($tableInfo['order']) ; print "\ntesting tableInfo (DB_TABLEINFO_ORDERTABLE):\n"; $tableInfo =$sth->tableInfo(DB_TABLEINFO_ORDERTABLE); @@ -46,11 +46,11 @@ print "\nnum_fields:\n"; print "$tableInfo[num_fields]\n" ; print "\nordertable:\n"; -print_foreach($tableInfo[ordertable]) ; +print_foreach($tableInfo['ordertable']) ; print "\nordertable[phptest]:\n"; -print_foreach($tableInfo[ordertable][phptest]) ; +print_foreach($tableInfo['ordertable']['phptest']) ; print "\nordertable[phptest_fk]:\n"; -print_foreach($tableInfo[ordertable][phptest_fk]) ; +print_foreach($tableInfo['ordertable']['phptest_fk']) ; print "\ntesting tableInfo (table without query-result):\n"; @@ -66,11 +66,11 @@ print "\nfirst field:\n"; print_foreach($tableInfo[0]) ; print "\norder:\n"; -print_foreach($tableInfo[order]) ; +print_foreach($tableInfo['order']) ; print "\nordertable:\n"; -print_foreach($tableInfo[ordertable]) ; +print_foreach($tableInfo['ordertable']) ; print "\nordertable[phptest]:\n"; -print_foreach($tableInfo[ordertable][phptest]) ; +print_foreach($tableInfo['ordertable']['phptest']) ;

« previous php.pear.cvs (#1785) next »