i am getting problem in replacing the array element................
actually i have multidimensional array which is stored in session variable.............
suppose i had
Code: Select all
$_SESSION['sess_var'] = array(array(id1,name1,price1),array(id2,name2,price2),..array(idn,namen,pricen));1> how to replace the array block whose id=n with the new
Code: Select all
array block array(id_new,name_new,price_new)Thanks in advance to all of you..............genius over there........
