Toggle navigation
Home
Latest pastes
FAQ
Random
BitBin is shutting down!
Register
Login
PHP #3 - Using Variables for Maths
SUBMITTED BY:
Guest
DATE:
May 15, 2013, 6:48 a.m.
FORMAT:
Text only
SIZE:
159 Bytes
Raw
Download
Tweet
HITS:
1162
Go to comments
Report
$int1 = 1; // value of 1
$int2 = 2; // value of 2
$int_total = $int1 + $int2; // 1+2
Echo '$int_total'; // this should show the number 3
Please enable JavaScript to view the
comments powered by Disqus.
comments powered by
Disqus