I am primarily a CSS and HTML guy but I have recently ventured into PHP.
I can’t see why this script hangs:
$loop_Until = 10;
while($i < $loop_Until)
{
// do some code here
$loop_Until = $loop_Until + 1;
}
Can anyone please help?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This is causing an ifinate loop, youo will want to take a look at the php
forloop. http://php.net/manual/en/control-structures.for.phpYou are increasing
$loop_Untilevery time and never increaing$itherefore$iwill always be less than$loop_Until