There is no such thing as TStringList
So, note to my self, for saving files in PHP (good for geting and analyzing queries) :
$fp = fopen('c:data.txt', 'w');fwrite($fp, $MySQL);fclose($fp);
Taken from here.