$query = "SELECT posted, jcode, designation FROM listing WHERE uid = '$uid' ORDER by posted DESC";
$result = mysql_query($query, $connection) or die ("Couldn't execute SQL query");
$num = mysql_num_rows($result);
while ($row = mysql_fetch_array($result)) { $jcode = $row["jcode"];
$designation = $row["designation"];
$posted = $row["posted"];
$posted = date("M j", strtotime($posted));
echo"$count<tr>
<td bgcolor='#ffffff' width='60'><font><b><center>$posted</center></b></font></td>
<td bgcolor='#ffffff' width='100' align='center'><font><b>$jcode</b></font></td>
<td bgcolor='#ffffff'><font><b><a href=\"/careers/job_details.php?jcode=$jcode\">$designation</a></b></font></td>
<td bgcolor='#ffffff' width='80'><font><b><center><a href=\"index.php?md=Applicants&jcode=$jcode\">View</a></center></b></font></td>
</tr>"; }
What I need to do is count the applicants from the users table and display the count where View currently is.
I'm trying to explain this, but am kind dumbfounded. I REALLY appreciate your help.