<?php
$sql="Select
id,
name
from
person_namesday
WHERE  
TYPE>0 AND 
name LIKE '".$_GET["n"]."%'
order by
name"
;
// echo $sql;
?>