Welcome Guest, Not a member yet? Register   Sign In
disabling PHP Error/Severity notices
#3

[eluser]xwero[/eluser]
Disabling errors is not a good solution. You should prevent errors from happening. in you case you need to add
Code:
$gender = '';

somewhere of use this function
Code:
function echo_var($name)
{
   return (isset(${$name})?${$name}:'';
}
But the first method is a better practice.


Messages In This Thread
disabling PHP Error/Severity notices - by El Forum - 10-09-2008, 01:57 PM
disabling PHP Error/Severity notices - by El Forum - 10-10-2008, 06:34 AM
disabling PHP Error/Severity notices - by El Forum - 10-10-2008, 06:51 AM



Theme © iAndrew 2016 - Forum software by © MyBB