I have a part in my code:
while($a = getrow()){
//code
}
getrow()
is a function which keeps on returning array based on some condition.
what getrow()
should return so that the while loop doesn't execute the code inside but takes the next value returned by getrow() function.