0 votes
in Programming by (300 points)
Can anyone tell me how to Declare Variables in PHP with examples?

1 Answer

0 votes

If you want to declare variables in PHP, Use $ Sign.

Example :

$a = "Hello";
echo $a ; // Output Hello

For more information checkout this link Declare PHP Variables

Not a Member yet?

Ask to Folks Login

My Account

Your feedback is highly appreciated