Hello,
I have this array $t = array (154 => 101, 221 => 20, 310 => 11); which build dynamically from the db how can I get a list of of the keys and elements?
thanks
<?php $t = array (154 => 101, 221 => 20, 310 => 11); foreach ($t as $key=>$value) { print $key . ' ' . $value ."\r"; } ?>