La query è sbagliata
Codice PHP:
$sel_post_=_mysql_query("SELECT_*_FROM_post_WHERE_id='$mioid' ORDER BY id DESC");