View Single Post
  #5 (permalink)  
Old November 3rd, 2003, 07:37 PM
richard.york's Avatar
richard.york richard.york is offline
Wrox Author
Points: 5,506, Level: 31
Points: 5,506, Level: 31 Points: 5,506, Level: 31 Points: 5,506, Level: 31
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Camby, IN, USA.
Posts: 1,706
Thanks: 0
Thanked 6 Times in 6 Posts
Default

Well no, you're still increasing the value of $_POST["loan"]

In plain English you're saying:

While $_POST["loan"] is greater than zero *always* execute this code.
Meanwhile you are increasing, not decreasing the value of $_POST["loan"], so it is *always* going to be greater than zero and therefore will make an infinite loop.

I'm going to have a look at your code and get back to you in a minute.

: )
Rich

:::::::::::::::::::::::::::::::::
Smiling Souls
http://www.smilingsouls.net
:::::::::::::::::::::::::::::::::
Reply With Quote