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
Explain the difference between mysql_connect and mysql_pconnect?
Which operator is used to concatenate two strings in PHP?
What is meant by an associative array?
Explain a resource?
How can we check the value of a given variable is alphanumeric?
How to execute an sql query?
How cookies are transported from servers to browsers?
What is cookies php?
How can we connect to a mysql database from a php script?
What is difference between readonly and constant?
What is $_ server request_method == post?
How to remove leading and trailing spaces from user input values in php?
What is an object in php?
How can you compare objects in php?
Which cryptographic extension provide generation and verification of digital signatures?