Date: 12/28/00
- Next message: jeremy brand: "Re: [PHP] array_walk()"
- Previous message: Philip Olson: "Re: [PHP] Number of Rows in a MySQL table"
- Next in thread: jeremy brand: "Re: [PHP] array_walk()"
- Reply: jeremy brand: "Re: [PHP] array_walk()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hey there,
I wonder if any of you wizards can see why this is not working. It is an example from a book but doesn't work for me:
function println ($s) {
echo "$s<br>\n";
}
$countries = array ("ca", "cr", "de", "us")
array_walk ($initials, println);
I seem to get a parse error on the array_walk line....
I am pretty sure that array_walk is supposed to work on PHP3.
Thanks Guys,
Abe
- Next message: jeremy brand: "Re: [PHP] array_walk()"
- Previous message: Philip Olson: "Re: [PHP] Number of Rows in a MySQL table"
- Next in thread: jeremy brand: "Re: [PHP] array_walk()"
- Reply: jeremy brand: "Re: [PHP] array_walk()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

