Problem with functions

From: Date: Wed, 04 Dec 2002 23:15:53 +0000
Subject: Problem with functions
Groups: php.general 
Request: Send a blank email to php-general+get-127056@lists.php.net to get a copy of this message
Hi, I have de following code for example <?php $username = "victor"; function test() { echo $username; } ?> If I call the funcion test(), echo print nothing.... what's is going on ? []´s victorhalla@yahoo.com __________________________________________________________________ Victor Halla ICQ#: 114575440 Current ICQ status: + More ways to contact me __________________________________________________________________

« previous php.general (#127056) next »