Dear devolepers,
I have problem with my sql database, I want acces my sql database in my <LI> list plaese help to resolve this problem
Here is my html
sql database : my_db
table : info_list
Table columns :
id,name,job,town,mobile1,mobile2,phone,adress
i want to display town list in this <li> list
<div id="choisir_ville" data-role="page" data-add-back-btn="true">
<div data-role="header">
<h1> Info</h1>
</div>
<div data-role="content">
<div class="choice_list">
<h1>Select your nearest place? </h1>
<ul data-role="listview" data-inset="true" data-filter="true" >
<li><a href="choose_worker.php" data-transition="slidedown"> Nilambur <span class="ui-li-count" > 3 </span></a> </li>
<li><a href="choose_worker.php" data-transition="slidedown"> Chandakunnu<span class="ui-li-count" > 2 </span></a> </li>
<li><a href="choose_worker.php" data-transition="slidedown"> Vadapuram<span class="ui-li-count" > 5 </span></a> </li>
<li><a href="choose_worker.php" data-transition="slidedown"> Mampad<span class="ui-li-count" > 1</span></a> </li>
<li><a href="choose_worker.php" data-transition="slidedown">Wandoor<span class="ui-li-count" > 2</span></a> </li>
<li><a href="choose_worker.php" data-transition="slidedown">Pokkottumpadam<span class="ui-li-count" > 2</span></a> </li>
<li><a href="choose_worker.php" data-transition="slidedown">Karulai<span class="ui-li-count" > 10 </span></a> </li>
<li><a href="choose_worker.php" data-transition="slidedown">Moothedam<span class="ui-li-count" > 8 </span></a> </li>
<li><a href="choose_worker.php" data-transition="slidedown">Edakkara<span class="ui-li-count" > 1 </span></a> </li>
<li><a href="choose_worker.php" data-transition="slidedown">Vazhikkadavu <span class="ui-li-count" > 3 </span></a> </li>
<li><a href="choose_worker.php" data-transition="slidedown">Marutha<span class="ui-li-count" > 2 </span></a> </li>
<li><a href="choose_worker.php" data-transition="slidedown">Pothukallu<span class="ui-li-count" > 4 </span></a> </li>
<li><a href="choose_worker.php" data-transition="slidedown">Akampadam <span class="ui-li-count" > 6 </span></a> </li>
<li><a href="choose_worker.php" data-transition="slidedown">Erumamunda<span class="ui-li-count" > 2 </span></a> </li>
<li><a style="text-align: center" href="index.php" data-transition="slidedown">Back to Home </a> </li>
</ul>
</div>
</div>
</div><!-- /page -->