Jump to content

globals how do i array globals


FUNKAM35

Recommended Posts

Not sure what you are really saying. Your code shows you have defined a variable $places as an array. What does the $global variable have to do with it?

 

Create a list

 

echo "<ul>\n";
foreach($places as $place)
{
    echo "<li>{$place}</li>\n";
}
echo "<ul>\n";

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.