Same variable name for multiple values
Quote:
Originally Posted by
annie
I got an error while adding break in
http://php.flashwebhost.com/annie/company.php
Code:
Parse error: syntax error, unexpected '>' in /home/fwhphp/public_html/annie/company.php on line 3
Code:
<?php
$companyname = 'Relience';
echo $companyname <br> ;
$companyname = 'Whirpool';
echo $companyname ;
Doubt 1
Is it possible to use same variable name for multiple values ?
Doubt 2
Is variable name is case sensitive ?
I mean both the following variables will give different values in the same script ?
Quote:
$variableName
$variablename