how to define a string variable in php code example
Example 1: php variables
<?php
$string = 'string';
$number = 1;
?>
Example 2: PHP Variables
<?php
$txt = "Hello world!";
$x = 5;
$y = 10.5;
?>
<?php
$string = 'string';
$number = 1;
?>
<?php
$txt = "Hello world!";
$x = 5;
$y = 10.5;
?>