answersLogoWhite

0

the dollar sign appears before a variable/array. Essentially it just tells php that its a variable.

$food = "cheese Pizza";

or

$myfavoritenumber = 2 ;

User Avatar

Wiki User

16y ago

What else can I help you with?

Related Questions

What is the Use of a double dollar sign in php?

A double dollar sign in php makes a variable with a name equal to the value of the original variable. It works like this:$var = "keith";$$var = "palmer";print ($keith);// The output is: palmer


What is the difference between variable and doubledollar sign in php?

I believe that in PHP syntax, double dollar sign is used when it is needed to pass on a variable, that has not yet been defined. Generally, this feature is not safe to use a can result in errors. Every algorithm which needs this kind of element, can also be handled by other means.


All variables in PHP start with which symbol?

In PHP, all variables must the preceded by the dollar sign. Variable name must not contain any space as well.


Which sign is used to concatenate two strings?

That depends on the programming language. Most languages use the "+" sign, but a few use other signs. For example, PHP uses the dot.


What is the use of a question mark in php?

It is used to tell the sever to use the PHP parser. To begin php you must use <?php, and to end it, it is ?>.


How do you use PHP in HTML?

You can't use PHP in an HTML document, but you can use HTML in PHP script.


What is the french dollar sign?

The French use the Euro, €


What is the abbreviation for the word money?

dude, use a dollar sign.


Does the negative sign come before or after the dollar sign?

Does the negative sign come before or after the dollar sign?The negative sign comes before the dollar sign.


What is the dollar sign used for?

money --> ([dollar] sign) <--


Why should you use PHP and not JSP?

Firstly, this is wrong question. The right one would be WHEN should you use PHP, not JSP? or, WHEN should you use PHP and WHEN JSP?


What is the current value of USD to PHP?

1 U.S. dollar = 43.8000964 Philippine pesoshttp://www.google.nl/search?q=1+USD+to+PHP