Problem with a query

Hi, I’ve got a problem with a query in my blank application.

<?php
$qry=“Select NAME from EMPLOYEE WHERE IDEMPLOYEE=”.$IDEMP;
$res=mysql_query($qry);
echo"<input type=‘text’ name=‘txt.Name’ maxlength=‘20’ size=‘20’ value=".$res.">
<br> "
?>

Like my older post the query works properly on my database, but here in my text box appear Resource id #13 and not the name of an employee. So what kind of problem I have?

P.S $IDEMP is declared on top of my blank application

Thank you for all the answer :slight_smile: