prova


<!ELEMENT dbserver #PCDATA>

Set the array to get the data.

 

Parent:

datasource
 

Childs:

#PCDATA
 

Attributes:

 

Note:

You may set to get the values to print from an array with global scope. That array should emulate a database table. See the following example:

The following array:
$foo=array( array('a' => 11,
'b' => 12),
array('a' => 21,
'b' => 22),
array('a' => 31,
'b' => 32)
);

or the following table:
+----+----+
| A | B |
+----+----+
| 11 | 12 |
+----+----+
| 21 | 22 |
+----+----+
| 31 | 32 |
+----+----+
give the same output.

 

Examples:

Data form array foo:
$GLOBALS['foo']=array( array('a' => 11,
'b' => 12),
array('a' => 21,
'b' => 22),
array('a' => 31,
'b' => 32)
);

Configuration

foo