<?php
$foodprices =array('Albertsons'=>
array('pizza'=>'$11.95','spinach'=>'.75c','tomatos'=>'3 for a
dollar','anchovies'=>'$2.25'),
'Whole Foods'=>
array('pizza'=>'$15.99','spinach'=>'$2.25','tomatos'=>'$1.95 /
pound','anchovies'=>'$8.75'));
foreach......
?>
Desired output:
Albertsons
pizza $11.95
spinach .75c
tomatos 3 for a dollar
anchovies $2.25
Whole Foods
pizza $15.99
spinach $2.25
tomatos $1.95 / pound
anchovies $8.75
The problem: I can't get the store name to print out, just the item and
the price. The store names appear as 'array'.
_______________________________________________
General mailing list
[email protected]
http://brlug.net/mailman/listinfo/general_brlug.net