php stored in mysql

From: Date: Thu, 09 Jan 2003 22:29:14 +0000
Subject: php stored in mysql
Groups: php.general 
Request: Send a blank email to php-general+get-131012@lists.php.net to get a copy of this message
Hi I want to store some discount codes in mysql, i was thinking of putting $price = $price - ($price *.i); in a mysql field that can be looked up via the coupon number what's the best way to do this and return $price with the discount applied. Thanks Best Wishes & Happy New Year Paul Roberts mail@paul-roberts.com ++++++++++++++++++++++++

« previous php.general (#131012) next »