View Single Post
  #1 (permalink)  
Old 04-18-2008, 02:08 AM
senraj senraj is offline
D-Web Master
 
Join Date: Jul 2007
Posts: 418
senraj is on a distinguished road
Post Operations in PHP

Hi,

Once you have information stored in a variable, what are you going to do with it? As we have seen, you can echo it to a web page. You also can manipulate the information with operators. Here are examples of mathematical operations in PHP:


$b = $a + 3;
$c = $a - 5;
$b = $b * 5;
$d = $b / $c;
__________________
Regards,
Senraj.A

Last edited by senraj : 04-18-2008 at 03:16 AM.
Reply With Quote
Sponsored Links