Hi Fishmonger
if I remove the line
Code:
$_ = qq('$_') for @business_types;
I get the error message
Code:
execute statement failed: Unknown column 'Accommodation' in 'on clause'
But then, if having removed it, if I use the following execute statement, it seems to work.
Code:
$sth2->execute( @business_types_to_exclude
, $base_latitude_miles
, $base_longitude
, $base_radius
, $base_radius
, $base_radius
, $base_radius
, $base_radius
)or die "execute statement failed: $DBI::errstr\n";
is that the correct way to do it?
bazz