assign value php

Solutions on MaxInterview for assign value php by the best coders in the world

showing results for - "assign value php"
Sandro
28 Jan 2021
1reset($val['MemberSaveRoom'])['is_favour_room'] = true; // INCORRECT
2$val['MemberSaveRoom'][0]['is_favour_room'] = true; 	// CORRECT
3
4// result 
5MemberSaveRoom = array(
6  [0] = array(
7    'is_favour_room' => true,
8  ));
9