table name - News table column id,cat_id,state_id,city_id
I create a menu which is static.
Now I need to fetch data according to category, city and state id...
plz tell me how to pass hard coded id from menu bar.Also how to get the selected category or selected city id in variable.
foe ex my ID for category1 = 15 ID for category2 = 18
plz help me...if it is possible..
<ul>
<li><a href="">category1</a></li>
<li class='active'><a href='#'>State</a>
<ul>
<li><a href="">state1</a>
<ul>
<li><a href='#'>city1</a></li>
<li><a href='#'>city2</a></li>
</ul>
</li>
<li><a href='#'>state2</a> </li>
</ul>
</li>
<li><a href='#'>category2</a></li>
</ul>