Skip to content Skip to sidebar Skip to footer

Dynamic Drop Down List In Php

i am using a dynmamic drop down list in php which is working perfectly fine but the html code after tag is not being executed my view page is inside a folder ekart in views folde

Solution 1:

This is all wrong:

echo"<option value='".$row['cat_name']."> ".$row['cat_name'</option>";

It should be:

echo"<option value='".$row['cat_name']."'> ".$row['cat_name']."</option>";

Post a Comment for "Dynamic Drop Down List In Php"