Hi all,i found out a code like this
I don't know what is the usage of & in front of $results for..Thanks a lot...Code:while ($column = $meta->fetch_field())
{
$bindVarArray[] = &$results[$column->name];
}
You are assigning that array value by reference.
PHP: Spotting References - Manual
This is very useful if you are passing large arrays. If you do not pass the array by reference, you are creating another copy of the array in memory.
Ok guys...Thanks a lot..
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks