i too never knows what is "&$conn". this is where i've found the variable
function DB_Open ($db,$host,$user,$passwd,&$conn) {
$conn = mysql_connect($host,$user,$passwd);
if ($conn) {
if (! mysql_select_db($db,$conn)) {
$status = mysql_error();
} else {
$status= 0;
echo "succeessful connected to $db<br>";
}
} else {
$status = mysql_error();
}
return ($status) ;
}
when i'm using the "&$conn" i've got error which is the table i'm refer to is not exist, but it is existed.
and when i'm remove "&" and just use "$conn" i've got msg error "Warning: Supplied argument is not a valid MySQL-Link resource in /home/httpd/anteil/cphp/registration/include/DB_subs.inc on line 213".
what should i do?