RE: [PHP] Division by zero

2002-10-07 Thread John W. Holmes
Sounds like $total is zero to me...do you think PHP is making up errors for you? Have you checked the value of $total and the different $voteX variables? ---John Holmes... -Original Message- From: Gary [mailto:[EMAIL PROTECTED]] Sent: Monday, October 07, 2002 9:29 PM To: [EMAIL

Re: [PHP] Division by zero

2002-10-07 Thread Gary
Yes, I did that before I posted. I am beginning to wonder if vote1-3 are being retrieved from the database. Gary John W. Holmes wrote: Sounds like $total is zero to me...do you think PHP is making up errors for you? Have you checked the value of $total and the different $voteX variables?