Getting Error In Small Function.
Posted: Tue Sep 24, 2013 6:12 pm
Hi Friends I am newbie and learning php.
I am getting error in variables.
please check it and define
One More Code
In 2nd , samee should replace by 100, but it is giving error. Why?
Please Check Last 2 functions; I made comment there.
I am getting error in variables.
please check it and define
- What is error
- How to resolve it
- How to use that function properly
Code: Select all
<?php $a=100;
$b=50;
$c=50;
$a+$b+$c=$d;
echo "$d = is the right answer." ?> Code: Select all
<?php echo "<b>What is Your Name? <br />";
$name=100; Here I have Error
$name=samee;
echo "My Name is $name." ?> Please Check Last 2 functions; I made comment there.