I am confused about &reference operator. here i dont understand
the call_user_array_func() and
referense operator why used here?
but can you explain it on my code
original source is
http://net.tutsplus.com/tutorials/ph...ed-statements/
i tested it. i want to know what happens there
i know this & reference operator but for what reason this is used i cannot understand. this section
while ( $field = $meta->fetch_field() ) {
$parameters[] = &$row[$field->name];
}
and from where $row variable has come?
while ( $stmt->fetch() ) {
$x = array();
foreach( $row as $key => $val ) {
$x[$key] = $val;
}
$results[] = $x;
}
Thanks again for attention