HERE IS SOME OF THE PHP CODE I HAVE DONE
<?
$db_name = "web";
$table_name = "jobs";
$connection = @mysql_connect("217.33.218.155", "webadmin", "r2d2c6po") or die(mysql_error());
$db = @mysql_select_db($db_name, $connection) or die(mysql_error());
$sql = "SELECT job_id, contact_name, contact_phone, date_posted, job_title, job_summary, location, job_status, career_level FROM $table_name";
$result = @($sql,$connection) or die(mysql_error());
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,10);
$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_title</a><br>$short_summary
<td width=15% align=left valign=top>$location
</tr>
</table>";
}
?>