how to declare var using 2 diff variable in php code example
Example 1: define value in php
$var = 5; //int
$var = "hey"; //str
$var = 'A'; //char
Example 2: PHP Variables
<?php
$txt = "Hello world!";
$x = 5;
$y = 10.5;
?>
$var = 5; //int
$var = "hey"; //str
$var = 'A'; //char
<?php
$txt = "Hello world!";
$x = 5;
$y = 10.5;
?>