http://qs1969.pair.com?node_id=160428


in reply to Re: SQL parser from fragments
in thread SQL parser from fragments

why do you have:
$lstatement .= "WHERE " unless ($count);
on line 8 starting from sub... $count = 0 and nothing changes it between where you declare it and line 8.
This is reference to the code posted by atcroft.