01.
<?php
include
(
"../database_connect/dbconect.php"
);
02.
function
checkName(
$name
){
03.
$sql
=
"select * from test_product_list where Name='$name'"
;
04.
$result
= mysql_query(
$sql
);
05.
while
(
$row
= mysql_fetch_array(
$result
)) {
06.
print
'<li class="arrow">'
.
$row
[
"Name_Detail"
].
'</a></li>'
;
07.
}
08.
}
09.
?>