PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Why this script doesnt work?
I get warning:
"Warning: Unknown(): Your script possibly relies on a session side-effect which existed until PHP 4.2.3. Please be advised that the session extension does not consider global variables as a source of data, unless register_globals is enabled. You can disable this functionality and this warning by setting session.bug_compat_42 or session.bug_compat_warn to off, respectively. in Unknown on line 0"
<?php if(mysql_result(mysql_query("SELECT COUNT(*) FROM affmembers WHERE Username='$Username_f'"), 0))
die (header("Location: affiliates2.php?Error=Sorry this username has allready been taken, please try another."));
?>