[eluser]buckboru[/eluser]
Well that was easier than i thought. I have yet another question though.
in my table their are 7 fields(7 headings) 1 of these fields is has a .jpg name. When i simply load the name all the fields line up with the headings, but I want to actually display the .jpg. So prior to loading my table i concatenate the location of the .jpegs with the .jpg name. Now when i display the table, i get the image loaded, however it is now seems to have added an additional table cell.
this is the code in question.
Code:
$sql = "SELECT LAST_NAME, FIRST_NAME,DEPARTMENT,EXTENSION,PAGER,CELLPHONE#,USERIMAGE
FROM tstmis.phoned01
ORDER BY LAST_NAME";
$query = $this->db->query($sql);
foreach ($query->result_array() as $row)
{
$image = $row['USERIMAGE'];
$row['CELLPHONE#']= format_phone($row['CELLPHONE#']);
$row['PAGER']= format_phone($row['PAGER']);
$thumbimage = "tn_" . $image ;
$row['USERIMAGE']= "<td><a ><img > </a></td>";