<?php
// Change the following to suit your own installation:
$objConnect = mysql_connect("localhost","root","root") or die("Error Connect to Database");
mysql_Query("SET NAMES UTF8",$objConnect);
$objDB = mysql_select_db("CEM");
// You don't have touch a thing from here on unless you really want to:
$sql = "SELECT SCR_NAME FROM scrvice WHERE SCR_NAME LIKE '" . $_POST['test'] . "%' order by SCR_NAME asc ";
$rs = mysql_query($sql);
?>
<ul>
<?
while($result=mysql_fetch_array($rs))
{
?>
<li><? echo $result["SCR_NAME"];?></li>
<?
}
?>
</ul>