It's just a bunch of if statements.
Run them through your head with: ($user = "username") || ($user = null)
I cannot create variables that can be used outside of the function from the function? Like:
function username($user) {
if($user = null)
$deleted = "deleted";
}
Then when the function is called username($username); I can echo $deleted? Is something like this at all possible? My tests show the above wouldn't work.
|