RE: [PHP] php stored in mysql

2003-01-09 Thread Timothy Hitchens \(HiTCHO\)
gt; Subject: Re: [PHP] php stored in mysql > > > I should have used > > return($price = $price - ($price *.1)); in the db > > and eval($str); > > Best Wishes & Happy New Year > > Paul Roberts > [EMAIL PROTECTED] > > &

Re: [PHP] php stored in mysql

2003-01-09 Thread Paul Roberts
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 $

[PHP] php stored in mysql

2003-01-09 Thread Paul Roberts
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