i'm running php version 4.0.3 on win2000/apache with mysql:
my isp/host is running php version 4.0.0 on
AIX orinoco,unix box i figure/apache with myqsl.
this function:
//////////////////////////
function emailExist($Emailname){
global $feedback;
$sql = "SELECT email FROM new_members WHERE email = '$Emailname'";
$result=mysql_query($sql);
$myrow = mysql_fetch_array($result);
if ($myrow >0) {
$feedback .= "That email address is already registered in our database.<br>\n";
return false;
exit ;
}
return true;
}
///////////////////////////////
when i call the function: like this...
if (!emailExist($Emailname)){
do something!!;
}
//////////////////////////////////
on my environment everything works fine!!
on my isp/host's environment the function call is totally ignored or it doesn't do anything..
i need help urgently
thanks!!