Employees in Department $dno"; $i=0; while ($i < $num) { $lname=mysql_result($result,$i,"lname"); $salary=mysql_result($result,$i,"salary"); ?>
Last Name Salary