php calculate

Posted on 16th Feb 2014 01:33 pm by admin

this code echoes correctly the sum but the inserted result is 0??
Code: <?php
$TotalNumber=($TotalNumberAdults + $TotalNumberChildren);

?><?php echo sprintf($TotalNumber);?>
<input name="TotalNumber" type="hidden" value="<?php echo sprintf($TotalNumber);?>" size="7">

No comments posted yet

Your Answer:

Login to answer
254 Like 25 Dislike
Previous forums Next forums
Other forums

Progress bar tracking file downloads
Hey guys, was wondering if there was a way to track how far a file has been downloaded. I know there

Replica Chopard watches
[b]swiss replica watches aaa+[/b] [b]swiss replica watches[/b] high quality swiss replica watches

Pas cher Christian Louboutin Pompes Daffodile 160mm serpent vert [Christian Louboutin0338] - €156.24 : la sortie de christian louboutin,
[b][url=]Christian Louboutin[/url][/b] [b][url=http://www.c

Using system() and bringing back the results
I am aware that you can use system() within PHP to execute system commands, but I was wondering if t

Creating web pages by php
Hello again,
I was just wondering us there a way to use a php script to create a new web page. I

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Google+ Indyaspeak @ Pinterest RSS

Operation not allowed when innodb_forced_recovery > 0.