I have a problem when converting an array of array to array
when I debug a variable named $todaysdata
, It shows below output,
Array
(
[0] => Array
(
[Requestcard] => Array
(
[id] => 954
[userprofile_id] => 14
[userprofile_name] => Syed Imran
[sex] => male
)
)
)
But actually i want the output in in the given format
Array
(
[Requestcard] => Array
(
[id] => 954
[userprofile_id] => 14
[userprofile_name] => Syed Imran
[sex] => male
)
)
If anybody knows. Please help me.