1
0
mirror of https://github.com/dg/dibi.git synced 2025-07-30 19:00:13 +02:00

Changed symbols for fetchAssoc: # means index, = means record field

This commit is contained in:
David Grudl
2007-11-18 09:16:54 +00:00
parent 58ed8d34f4
commit 981a1adaad
2 changed files with 10 additions and 10 deletions

View File

@@ -83,10 +83,10 @@ $assoc = $res->fetchAssoc('customers.name,products.title'); // key
print_r($assoc);
echo '<hr>';
$assoc = $res->fetchAssoc('customers.name,*,products.title'); // key
print_r($assoc);
echo '<hr>';
$assoc = $res->fetchAssoc('customers.name,#,products.title'); // key
print_r($assoc);
echo '<hr>';
$assoc = $res->fetchAssoc('customers.name,=,products.title'); // key
print_r($assoc);
echo '<hr>';