PHP supports the following data types String Float(Double) Integer Boolean Array NULL Resource Object <?php Echo “This is nice”; // this is an example of string Echo 1; // this is an example of integer Echo -1; // this is ...
Home/PHP String
phpsupport | phpsupportdesk Latest Articles
Variables
pHpSupportVariable Every variable starts with "$" eg. Assignment of a string to a variable. $var = "God is a power"; <?php $var = "God is a power"; echo $var; // To print a variable value ?> If you will see ...