You're missing a closing quote after
FL
If you want to avoid this kind of typo (and also make your problem a Perl problem ;) ) you could
use DBI;. Among the many benefits this confers are
placeholders - handy little question marks you'd put instead of
FL etc, which handle all the quoting issues for you.
§
George Sherston