Re: php stored in mysql

From: Date: Thu, 09 Jan 2003 23:32:39 +0000
Subject: Re: php stored in mysql
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-131015@lists.php.net to get a copy of this message
I should have used return($price = $price - ($price *.1)); in the db and eval($str); Best Wishes & Happy New Year Paul Roberts mail@paul-roberts.com ++++++++++++++++++++++++ ----- Original Message ----- From: "Paul Roberts" <mail@paul-roberts.com> To: <php-general@lists.php.net> Sent: Thursday, January 09, 2003 10:29 PM Subject: [PHP] php stored in mysql 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 (#131015) next »