How do i set each of this value to empty $data['profile_data']->fname=''; $data['profile_data']->lname=''; $data['profile_data']->city=''; $data['profile_data']->number=''; $data['profile_data']->car=''; etc PHP:
What do you get if you run: print_r($data['profile_data']); I'm not quite clear on the structure of your array.
Im not familiar with your array structure, as jestep suggested , reply with what the output is... Also if you wanted to delete an array element you could do: unset($array[$key]); PHP: