I trying to code a kind of DB wrapper.
So when is dbQuery turn I run into trouble.
I read in php manual that refrences are not like C pointers. They just
point to the same content.
I want to return the result from a mysql_query
but if I do something like this:
function bdConsultar($strCon) {
$idRes = @mysql_query($strCon);
return $idRes;
}
Should be called like this?
$myID = &bdConsultar("Select * from users");
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php