Math Script
| From: | Kacey A. Murphy | Date: | Sun, 04 Nov 2001 19:17:04 +0000 |
| Subject: | Math Script | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-73409@lists.php.net to get a copy of this message | ||
Is this possible what I want this to do is take a price say 10.00 in a field
in the mySQL databse and do a math set such as -0.5 * 1
This is in a link and I was echoing the field in the database but how do I
put a math thingy in there. <?php echo $products->Fields("itm_aship")?>
Could I do this
<?php echo $products->Fields("itm_aship")-0.5*1?>
or am I thinking all wrong... Thanks!