hi guys
trying to seperate a string into array but can’t think
[PHP]
$string=“perri~1~returned~today?”;
$organizer=array(“Name”,“QTY”,“Status”,“when”);
//i want the array to be like:
//$data[0][NAME]=“perri”;
//$data[0][QTY]=“1”;
//$data[0][Status]=“returned”;
//$data[0][when]=“today”;
//and then $data[1] …
?>[/PHP]
so i want to use the organizer array as sub-array keys and then use the string as values for those sub-array keys