The difference between a variable and a string is that a variable for the value will house only 1 character (rather number or letter) and a string, the value is more then 1 character (rather number or letter). Are my examples below correct?
// this is a variable
$variable = '4';
// this is a string
$variable = '456344534';
// another string
$teacher = "Ms. Doughtfire";
// another variable
$school_code = '9';
Is this correct?
----------------------------------------------------
Brand New to PHP Coding. Starting Learning 01/01/2007! This is my year to learn PHP.