Php Select From Mysql Database Until A Specific Row Problem Stack

Php Select From Mysql Database Until A Specific Row Problem Stack