Recalculation ?
| From: | Dave Carrera | Date: | Fri, 18 Jan 2002 17:16:55 +0000 |
| Subject: | Recalculation ? | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-15971@lists.php.net to get a copy of this message | ||
Hi All,
I have create a page to calculate qtys and show totals.
This works fine, except that I change a qty the change is not registered and
calculate from the old value.
I am using sessions and have try a loop of
if($qty == $qty){
than calc stuff here}
else{
session_unset($qty);
session_register($qty);
calc stuff here
}
And have tried other ways but to no avail.
Can someone throw any light on this.
As always any help is appreciated.
Dave C