I\'m trying to run the following query, and I\'m having trouble with the wildcard.
function getStudents() { global $db; $users = array();
It is the same reason that happens in C++. When you pass a value to a function which expects the argument to be a reference, you need a variable ( not temporary ). So first create a variable and then pass it.