Ver originalif ($numero != 0){// acá el while para mostrar los datos}else{echo 'Lo sentimos... esta cosa no tiene datos.';}