| 
	
 | 
 Posted by Akhenaten on 05/18/07 02:17 
> Variables external to a function are only valid if: 
> 
>   1) They are superglobals (i.e. $_SESSION, $_GET, $_POST, etc.), 
>   2) They are defined as global in the function, or 
>   3) They are passed to the function. 
> 
> #3 is the best way to go for user variables; just pass the $username as 
> a parameter to the function. 
> 
> -- 
> ================== 
> Remove the "x" from my email address 
> Jerry Stuckle 
> JDS Computer Training Corp. 
> jstuck...@attglobal.net 
> ================== 
 
Jerry, you just saved me from a painful 'death by code' experience. 
Thank you.
 
  
Navigation:
[Reply to this message] 
 |