Hi,
i have a form to display the data from the data base (i mean pulled the data from the data base), for display the data i have no problem its fine....
But the form also have 8 Buttons (in <ul> <li>) tag my buttonns names are saved in the data base with the Field Show Order Field , here i m putting the code :
<ul>
<? $res=mysql_query("SQL_QUERY");
while($obj=mysql_fetch_object($res)) {
?>
<li><a href="<?$obj->URL ACTION?>"><?=$obj->BUTTON_NAME;?></a></li>
<? } ?>
</ul>
// here we have 7 Records in the DB so its repeat seven Times with Same <li> tag and Display the Different Button Name With Different URL action (which we already saved in the data base).
here my Problem start i want user Click on the Buton in <Li> tag its get selected for this URL(page) and when User Click on other Button li tag this one selecyed and first deselected, i have the selectwd Class but i have only one <li> tag so wheer to place the class ??????????
Please Reply, i m waiting for Suggestions And Answer..... PLZ PLZ
How to show bnuttons Active
Moderator: General Moderators