Basic Php TutorialsBasic PHP tutorials and for beginners..PHP Variables- April 30, 2006 Using Php VariablesPhp Variables are are used for storing values, such as strings, numbers Once stored they can be called from anywhere within the script Note :Variables can not have spaces and only contain alpha-numeric characters and underscores. $myVar or $my_Var both is correct.Output of this script is : Hi FriendBelow is another example :Output of is :2 + 2 is 4http://phpstreet.blogspot.com/2007/04/php-variables.html |