I have what I think is probably a pretty simple question. I have a multi-dimensional array stored in a session, and I need to be able to delete the values for one particular slot in that array.
For example, if my array looks like:
Code: Select all
$_SESSION['myarray'] = array(
array(x=>'123', y=>'456', z=>'789'),
array(x=>'abc', y=>'def', z=>'ghi'),
array(x=>'red', y=>'green', z=>'blue'),
array(x=>'etc', y=>'etc', z=>'etc')
);Code: Select all
array(x=>'abc', y=>'def', z=>'ghi')I hope this makes sense.
Any input will be VERY appreciated!