All:
I'm using MDB2 to pull data from a MySQL database... works fine, e.g.:
$result = getData(...);
Now that I have the $result (a multidimensiona l array), what is the
PHP idiom for iterating through the set, e.g., to create an HTML table
of the data? Should I be thinking foreach() or something else?
Thanks,
jpuopolo
I'm using MDB2 to pull data from a MySQL database... works fine, e.g.:
$result = getData(...);
Now that I have the $result (a multidimensiona l array), what is the
PHP idiom for iterating through the set, e.g., to create an HTML table
of the data? Should I be thinking foreach() or something else?
Thanks,
jpuopolo
Comment