Right if i can get Delphi to read a database and output it as a txt file surely i can get it to output it as php im 50% there right?