@row4 = $sth4->fetchrow_array();
($nsgno, $type, $id, $stocknox, $date) = @row4;
#######################################
#########Output###########################
print "Stock No - $stocknox : $make $model $bodytype $reg NSG Ref - $nsgno - Salvage Rack Location $sublocation
";
while (@row4 = $sth4->fetchrow_array()) {