Articles → PHP → Variables in PHP

Variables in PHP
















Software requirement









Prerequisite knowledge





What is a variable?





How to declare and initialize as variable?




<?php $variable_name;?>
















<?php		
$customer_name = 'google'; 		
?>



How to assign value to a variable?




<?php
  $customer_name;
  $customer_name = 'google'; 
?>



Posted By  -  Karan Gupta
 
Posted On  -  Thursday, April 25, 2013

Query/Feedback


Your Email Id  
 
Subject 
 
Query/FeedbackCharacters remaining 250