SELECT",$line);
$l = str_replace("FROM","
FROM",$l);
$l = str_replace("LEFT JOIN","
LEFT JOIN",$l);
$l = str_replace("WHERE","
WHERE",$l);
$l = str_replace("AS","AS",$l);
$l = str_replace("ON","ON",$l);
$l = str_replace("ORDER BY","ORDER BY",$l);
$l = str_replace("LIMIT","LIMIT",$l);
$l = str_replace("OFFSET","OFFSET",$l);
$l = str_replace(" ","",$l);
if(substr($l,0,3) == "DQL") print "
";
print $l."
";
}
?>