hello to all, im having a problem with my code, how can i exit a for loop if a certain condition is met.
ex.
for ($i=0; $i<10; $i++)
{
if($i==5)
{
// exit the for loop, must not continue upto 10
}
}
what will be the command to exit the for loop?
thank you