Hi guys,
Basically, what I need is to have an array that looks like this.
$array('title' => $results[1], 'title' => $results[2], 'title' => $results[3])
How can I do this dynamicallly within a for loop?
$titles[$i] = 'title' => $results[$i][$model]['Description']; gives me a double arrow error.
ok, got it! array_combine('title', $results[$i][$model]['Description']) !!
![]()






Bookmarks