cvs: pear /DB_Table/tests bogotest.php
| From: | Paul Jones | Date: | Mon, 08 Nov 2004 03:28:12 +0000 |
| Subject: | cvs: pear /DB_Table/tests bogotest.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-25756@lists.php.net to get a copy of this message | ||
pmjones Sun Nov 7 22:28:12 2004 EDT
Modified files:
/pear/DB_Table/tests bogotest.php
Log:
now follows proper validation sequence, then actually performs the insert (instead of merely
validating it)
http://cvs.php.net/diff.php/pear/DB_Table/tests/bogotest.php?r1=1.5&r2=1.6&ty=u
Index: pear/DB_Table/tests/bogotest.php
diff -u pear/DB_Table/tests/bogotest.php:1.5 pear/DB_Table/tests/bogotest.php:1.6
--- pear/DB_Table/tests/bogotest.php:1.5 Mon Nov 1 18:33:10 2004
+++ pear/DB_Table/tests/bogotest.php Sun Nov 7 22:28:12 2004
@@ -16,10 +16,10 @@
'require' => false,
'qf_type' => 'autocomplete',
'qf_vals' => array(
- 'this',
- 'that',
+ 'another',
'other',
- 'another'
+ 'that',
+ 'this'
)
),
'xbool' => array(
@@ -138,6 +138,7 @@
$form->display();
echo "\n<hr />\n";
+$example->fetchmode = DB_FETCHMODE_ASSOC;
$list = $example->select('list');
Var_Dump($list);