On Monday 20 January 2003 02:51, Cesar Aracena wrote: > Hi all, > > I guess this problem might sound childish for most of you, but I'm > having it right now. I get two numbers from a FORM, one price and one > quantity and I need to make a multiplication with them in order to store > the total amount also as a double expression... I'm trying with: > > $totalprice = $price * $qty; > > but when I echo the, it gives me just plain old 0 (zero). Any > suggestions?
What is $price and what is $qty? -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * /* Everything I like is either illegal, immoral or fattening. -- Alexander Woollcott */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php