i think it works but not showing data using the code
while ($row = mysql_fetch_array($res, MYSQL_NUM)) {
printf("leave_id: %s - Date: %s - hours: %s - dayes: %s - stat: %s - comm: %s - req: %type - id: %s - empid: %s", $row[0], $row[1], $row[2], $row[3], $row[4], $row[5], $row[6], $row[7], $row[8]);
echo '<br/>';
}
mysql_free_result($res);
and i forgot to add one thing i am getting using
id and i want to show data according to
id so can i usin WHERE id="id" in SQL.
plz anyone