hi
Ive got the code below, but i want it show say 10 records per page and then have the next, previous links. How would i do that? what code do i need to add the one below?
Help ;-(
<?
while ($row = mysql_fetch_array($result)) {
$job_id = $row['job_id'];
$contact_name = stripslashes($row['contact_name']);
$contact_phone = $row['contact_phone'];
$date_posted = $row['date_posted'];
$job_title = stripslashes($row['job_title']);
$job_summary = stripslashes($row['job_summary']);
$short_summary = substr($job_summary,0,150);
$location = stripslashes($row['location']);
$job_status = stripslashes($row['job_status']);
$salary = $row['salary'];
$career_level = stripslashes($row['career_level']);
if ($date_posted == "0000-00-00") {
$date_posted = "[not specified]";
}
$display_block .= "
<table width=75% height=35 cellpadding=0 cellspacing=1>
<tr bgcolor=#FFEBD7>
<td width=13% height=3 align=left valign=top>$date_posted
<td width=54% align=left valign=top><a href=latest_jobs_detail.php?job_id=$job_id>$job_title</a><br>$short_summary.....<a href=latest_jobs_detail.php?job_id=$job_id>[More]</a><br>
<font size=2><strong>Job type:</strong> $job_status <br>
<strong> Salary:</strong>$salary</font>
<td width=15% align=left valign=top>$location
</tr>
</table>";
}
?>