Answer Posted / muthu
Variables in PHP declared with $ symbol immediately
followed by alphabets or underscore. We can use variables
without declaring also. But if we are accessing one
variable without assigning values, then we will get warning
messages.
For example
<?php
$a=10;
if($a==2)
$b=20;
echo $b;
?>
This will throw warning messages.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What are the methods useful for method overloading?
Which are the best start and end tags to use?
How to check an element is exists in array or not in php?
What is instantiation?
What is $_ get?
How do I make a reset button in html?
Which is incorrect with respect to separating php code and html?
Do you know what is the use of the function 'imagetypes()'?
What is an associative array?
What is the use of header() function in php?
How I can control asset documents without GR/IR?
what are the differences between php and perl
Explain me what is sql injection?
Tell me what is the difference between ereg_replace() and eregi_replace()?
What is difference between python and php?