Hi All,
I am trying to pull out 2 types of info from one table.
Below is the existing script that I have in the page now.
$ghours = mysql_query("select * from pireps where pid = '$id'", $connect);
$hourcount = mysql_num_rows($ghours);
$a = 0;
$hourstrue = 0;
$hours = 0.0;
What this script is getting is total hours per person. Which is one type.
The other type of Info I am trying to get out of this table is the last submitted entry on a person's ID from this table.
Can this be done and how would I do it?
Thanks very Much in Advance,
Ron