<?php
$x = 1; //variable x holds 1
$y = 7; //variable y holds 7
$res = $x + $y; //variable res holds the addition of x and y
echo $res; //printing the result
?>
Showing posts with label Variables. Show all posts
Showing posts with label Variables. Show all posts
Monday, December 31, 2012
Variable decleration in PHP
Subscribe to:
Posts (Atom)