Menu
Folks,
[code]
If($_GET[type] == “personal”)
{
output all values with the “personal” array key.
}
else
{
output all values with the “commercial” array key.
}
How to write this code in PHP from following array keys and values ?
What I want to achieve is written in above code conditions.
[code]
$patterns = array(“commercial” => “domain”,”commercial” =>”fax”,”personal” =>”username”,”personal” =>”email”);
Which PHP function to use ?