How can I setup an array so I can access it like this:
Rather than:PHP Code:echo $config["forumtitle"];
//would output VB Q and A, for example
:confused: Thanks in advance.PHP Code:echo $config[122];
Printable View
How can I setup an array so I can access it like this:
Rather than:PHP Code:echo $config["forumtitle"];
//would output VB Q and A, for example
:confused: Thanks in advance.PHP Code:echo $config[122];
Like this I think.
PHP Code:$PhoebeDog = array (
name=>"Phoebe",
description=>"fat dog",
color=>"grey and white",
age=>7
);
That works great, thanks! :)