Welcome Guest, Not a member yet? Register   Sign In
Exploding Array Elements... Using explode TWICE
#2

[eluser]WanWizard[/eluser]
Something like:
Code:
$str = 'engine,browser,platform,version,avaliator/name';
$array = array = explode(',', $str);
foreach ($array as $key => $value)
{
    $array[$key] = explode('/', $value);
}


Messages In This Thread
Exploding Array Elements... Using explode TWICE - by El Forum - 04-26-2010, 12:24 AM
Exploding Array Elements... Using explode TWICE - by El Forum - 04-26-2010, 12:38 AM
Exploding Array Elements... Using explode TWICE - by El Forum - 04-26-2010, 12:48 AM
Exploding Array Elements... Using explode TWICE - by El Forum - 04-26-2010, 01:08 AM
Exploding Array Elements... Using explode TWICE - by El Forum - 04-26-2010, 01:12 AM
Exploding Array Elements... Using explode TWICE - by El Forum - 04-26-2010, 01:43 AM



Theme © iAndrew 2016 - Forum software by © MyBB