It executes a block of code as long as a specified condition evaluates to true. if the condition becomes false, the statements within the loop stop executing.
while ($i <= 5)
echo "$i<br />";
© 2018 All rights reserved. Developed by nexglobalinc