Indicate where in that you'd want the images. But essentially you'd do...
code:
$blah = split(",", $row[images]);
foreach ($blah as $beep) {
$stringading .= "<img src=\"" . $beep . "\" />";
}
And then just add $stringading in where you want the images echoed. So like...
code:
$car = $_GET['car'];
$query = "SELECT * FROM cars WHERE carcode = '$car' ";
$result = mysql_query($query);
while($row = mysql_fetch_array($result, MYSQL_ASSOC))
echo "
<table>
<tr>
<th rowspan='5'><a href='#'><img src='./photos/{$row[thumb]}' /></a>
<br />
<td colspan='2' width='300px'><a href='car.php?car={$row[carcode]}'>{$row[title]}</a></td>
</tr>
<tr>
<td width='250px'>{$row[year]}<br />
{$row[mileage]}<br />
{$row[engine]}<br />
{$row[fuel]}<br />
{$row[gearbox]}<br /> </td>
<td width='250px'>{$row[colour]}<br />
{$row[mot]}<br />
{$row[tax]}<br /></td>" . $stringading . "
</tr>
<tr>
<td colspan='2'>{$row[extra]}</td>
</tr>
<tr>
<td colspan='2' align='right' valign='bottom'><b>£{$row[price]}</b></td>
</tr>
<tr>
<td colspan='2'>FULL WIDTH</td>
</tr>
</table>
";
(which is a nonsensical place to dump them but you get the idea)
If you want more code around them, like table cells or whatever you'd do it in the foreach loop like:
code:
$blah = split(",", $row[images]);
$stringading = "tr";
foreach ($blah as $beep) {
$stringading .= "<td><img src=\"" . $beep . "\" /></td>";
}
$stringading .= "</tr>";