Saturday, February 27, 2010

My error clear any solution php program? <?php $tot=$res['price']+$tot; ?></td>?

Either $res['price'] or $tot not exists or they are string and you can't add the one to the other with ';+';.


If you want them to be connected like texts (which I can hardly believe as you use 'price' that shoud be some kind of number, you may use . (dot) like $one.';#';.$two equal to ';one # two';.My error clear any solution php program? %26lt;?php $tot=$res['price']+$tot; ?%26gt;%26lt;/td%26gt;?
What is the error returned ? Tell us more about your script.

No comments:

Post a Comment