I got similar question:
I have
while($row = $db->get_row()){
CODE
}
But later wanted to add a check if there is image in short_story
something like if (get_img_basic($row['short_story']))
How this can be done? Ideas?
Is it something like while($row = $db->get_row() and (get_img_basic($row['short_story']))){
CODE
}