Sunday, September 9, 2012

Lesson for me: Right way to put values from for-each to array


foreach($value as $p){
$arry[]=$p->id;
}

I found the solution to my problem here :P

No comments:

Post a Comment