How are Variables Defined in PHP?

Answer Posted / master

variable r defined using the $ symbol.for ex: $x,$value etc.
u can even asign the values directly like $x=10 or $x='php';

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do sessions work in php?

743


What is the function mysql_pconnect() useful for?

744


What does the function get_magic_quotes_gpc() means?

726


Do while loops php?

747


How to get a total number of elements used in the array?

751


What is api example?

760


write a note on Testing the web site

1636


Which software is used to run php programs?

737


What are php expressions?

837


What are php magic quotes?

703


What are the advantages of stored procedures?

782


How to submit form without a submit button.

770


Php being an open source is there any support available to it?

854


Write syntax to open a file in php?

775


What is a php trait?

712