can anyone please point in the right direction with this one?
The following script is from View.php
<head>
<script language="JavaScript" src="popup.js">
</script>
</head>
<?php
$year=$POST['selectYear'];
$model=$POST['selectModel'];
$range=$POST['selectRange'];
$chassis=$POST['selectChassis'];
$type=$POST['selectType'];
$slash="/";
$path = "pics".$slash.$year.$slash.$model.$slash.$range.$slash;
$layout=$range."Layout.jpg";
$front="Front.jpg";
$lhs="LHS.jpg";
$vehicleData = $year.$model.$range.$chassis.$type;
?>
<table>
<tr><td><?php echo "Year:";?> </td> <td> <?php echo $year; ?> </td></tr>
<tr><td><?php echo "Model:";?> </td> <td> <?php echo $model; ?> </td></tr>
<tr><td><?php echo "Range:";?> </td> <td> <?php echo $range; ?> </td></tr>
<tr><td><?php echo "Chassis:";?> </td> <td> <?php echo $chassis; ?> </td></tr>
<tr><td><?php echo "Type:";?> </td> <td> <?php echo $type; ?> </td></tr>
</table>
<hr>
<table>
<th><b>View parts:</b> </th>
<tr>
<td>
<select NAME="viewParts" style="width:160px">
<option value="ALL">All</option>
<option value="BOF">Bought In Furniture</option>
<option value="CHA">Chassis</option>
<option value="ELE">Electrical</option>
<option value="FUR">Furniture</option>
<option value="GAS">Gas</option>
<option value="IRN">Fasteners + Handles</option>
<option value="MAS">Mastiks</option>
<option value="MET">Metal Work</option>
<option value="PLU">Plumbing</option>
<option value="PVI">Plastic + Fibreglass</option>
<option value="WIN">Windows</option>
</select>
</td>
<td> <input type="button" name="viewPartsBtn" value="View" onclick="showParts("<?php echo $vehicleData; ?>")"> </td>
</tr>
<tr>
<td>
</td>
<td>
</td>
<td>
</td>
</tr>
<tr>
<td>
<img src="<?php echo $path.$front; ?>" width="150" heigh="400" align="middle">
</td>
<td>
<A HREF="<?php echo $path.$range."_layout.html"?>" > <img src="<?php echo $path.$layout; ?>" width="400" height="150" align="middle"> </a>
</td>
<td>
</td>
</tr>
<tr>
<td>
</td>
<td>
<img src="<?php echo $path.$lhs; ?>" width="400" height="150" align="middle">
</td>
<td>
</td>
</tr>
</table>
When i eventually get to this page, it produces an syntax error on line 39 char 1 (Internet explorer error dialog) this line is the start of the <select> tag
Can anyone explain this to me? It was working fine until I entered "<?php echo $vehicleData; ?>" to pass data to a javascript which opens a new window. It should pass the string $vechicleData
Thankx in advance