selected <UL><LI> using php / mysql / html
My output in html is :

    <uL><li id="B1"></li>
    <li id="B2"></li>
    <li id="B3"></li>
    <li id="B4"></li>
    <li id="B5"></li>
    <li id="B6" class="active"></li>
    <li id="B7" class="no"></li>
    <li id="B8" class="no"></li>
    <li id="B9" class="no"></li>
    <li id="B10" class="no"></li>
    </ul>

if mysql result = 6 -> li id="B6" class="active" / class=active and after  li active all <li class="no">.

How To Generate This Using Php/Mysql 

Thanks
selected <UL><LI> using php / mysql / html
===

My output in html is :

    <uL><li id="B1"></li>
    <li id="B2"></li>
    <li id="B3"></li>
    <li id="B4"></li>
    <li id="B5"></li>
    <li id="B6" class="active"></li>
    <li id="B7" class="no"></li>
    <li id="B8" class="no"></li>
    <li id="B9" class="no"></li>
    <li id="B10" class="no"></li>
    </ul>

if mysql result = 6 -> li id="B6" class="active" / class=active and after  li active all <li class="no">.

How To Generate This Using Php/Mysql 

Thanks