note 105008 added to internals2.variables.creating
| From: | kodEater at osu1 dot php dot net | Date: | Fri, 22 Jul 2011 00:54:40 +0000 |
| Subject: | note 105008 added to internals2.variables.creating | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-181769@lists.php.net to get a copy of this message | ||
To create a variable in PHP language is quite simple.
You have to use the symbol "$" preceding the variable name.
Example:
$myVariable
To add some value to the variable you add the symbol "=" to attribute value.
Example:
$myVariable = "someValue"; /* (between quotes if is a string(text)) */
For numbers you can just put the value without quotes. Example:
$myVariable = 30;
Hope this will help!
kodEater
----
Server IP: 69.147.83.197
Probable Submitter: 201.53.161.246
----
Manual Page -- http://www.php.net/manual/en/internals2.variables.creating.php
Edit -- https://master.php.net/note/edit/105008
Del: integrated -- https://master.php.net/note/delete/105008/integrated
Del: useless -- https://master.php.net/note/delete/105008/useless
Del: bad code -- https://master.php.net/note/delete/105008/bad+code
Del: spam -- https://master.php.net/note/delete/105008/spam
Del: non-english -- https://master.php.net/note/delete/105008/non-english
Del: in docs -- https://master.php.net/note/delete/105008/in+docs
Del: other reasons-- https://master.php.net/note/delete/105008
Reject -- https://master.php.net/note/reject/105008
Search -- https://master.php.net/manage/user-notes.php