sushilsth 0 Light Poster
array (size=4)
  0 => 
    array (size=7)
      'id' => string '75' (length=2)
      'room_name' => string 'Economy ' (length=8)
      'no_of_room' => string '0' (length=1)
      'price' => string '500' (length=3)
      'description' => string 'asdfasf' (length=7)
      'image' => string '' (length=0)
      'hotel_id' => string '1' (length=1)
  1 => 
    array (size=7)
      'id' => string '70' (length=2)
      'room_name' => string 'Couple Room' (length=11)
      'no_of_room' => string '0' (length=1)
      'price' => string '500' (length=3)
      'description' => string 'sadsadasdas' (length=11)
      'image' => string 'DSCF363.jpg' (length=11)
      'hotel_id' => string '1' (length=1)


      Hi  this is my array when i do var_dump. Now i want to make array push and modify array as below. I googled alot for this but cant find any soultion. Plz help me. I would be greatful.


array (size=4)
  0 => 
    array (size=7)
      'id' => string '75' (length=2)
      'room_name' => string 'Economy ' (length=8)
      'no_of_room' => string '0' (length=1)
      'price' => string '500' (length=3)
      'description' => string 'asdfasf' (length=7)
      'image' => string '' (length=0)
      'hotel_id' => string '1' (length=1)
      'check_in_date' => string '2014-1-1' (length=8)
      'check_out_date' => string '2014-1-3' (length=8)
  1 => 
    array (size=7)
      'id' => string '70' (length=2)
      'room_name' => string 'Couple Room' (length=11)
      'no_of_room' => string '0' (length=1)
      'price' => string '500' (length=3)
      'description' => string 'sadsadasdas' (length=11)
      'image' => string 'DSCF363.jpg' (length=11)
      'hotel_id' => string '1' (length=1)
      'check_in_date' => string '2014-1-1' (length=8)
      'check_out_date' => string '2014-1-3' (length=8)