Mindy Geac wrote:
We are using the foreach($array as $eachline) function in an array.
No. Value.
[a] => apple
[b] => banana
[am] => monkey
How do I determine the No.varabele of the array within the foreach
function?
Mindy
<?
foreach($array AS $key => $value) {
echo 'My key is:' . $key . ' and my value is: ' . $value;
}
?>
--
___| ___| _ \ _ _| _ \__ __| __ \ | | __ \ ____|
\___ \ | | | | | | | | | | | | | __|
| | __ < | ___/ | | | | | | | |
_____/ \____|_| \_\___|_| _| ____/ \___/ ____/ _____|
Computers will never take the place of books. You can't stand on a
floppy disk to reach a high shelf.
I thought 'Deep Throat' was a movie about a giraffe :/