Insert to all innner array of php a variable at once
For ex:
array(
array(
id = 1,
name= ben,
date = ""
),
array(
id=2,
name= john,
date = ""
),
array(
id =3,
name= dow,
date = ""
)
)
I have this array. As you can see these are identical arrays inside
another array. Which make it a multidimensional array. Is there a way that
I can assign date to all the inner array without a foreach loop ?
Thanks in Advance!
No comments:
Post a Comment