php use variable code example
Example 1: php variables
<?php
$string = 'string';
$number = 1;
?>
Example 2: php variable
$name = "Josh"; //$varname = value
Example 3: php declare variable
// just assign it some value to declare it
$var = 'some value';
Example 4: how to make a variable in php
$varName = "Hello, World";