View Single Post
06-04-2012, 10:42 PM
#3
Dan is offline Dan
Dan's Avatar
Status: Request a custom title
Join date: Feb 2005
Location:
Expertise:
Software:
 
Posts: 3,164
iTrader: 15 / 86%
 

Dan is an unknown quantity at this point

  Old

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.

Reply With Quote