$POST['block'] = '1B'; i’m not getting the output even though i did everything as it shown above. DL  CB". KE". echo $row_list['remark']." $POST['block'] = '8D'; Thanks. "Type Of Service". I have to go out now, and will look at it in more depth in a bit, but I noticed that you are using a huge amount of if elseif clauses; these are unnecessary, use a switch statement instead, you also can't change the value of the $_POST[] bit, so do this: Basically a switch($variable) {} statement replaces lots of if... elseif ... else statements. For the remainder of this post, I’m going to assume a database of an API. This was so easy to follow and exactly what I was looking for. Also Read: How to Use AngularJS ng-options to Bind or Populate JSON Array to a SELECT DropDownList. There are 2 ways to bind the SQL data with it, one is using in-built ASP.Net SQL datasource server control and second is using C# code to connect and fetch the data programmatically. include ("include/dbconnect_search.php"); ?>