I went and deleted a PHP file on accident that runs a SQL Query against my database. The query wasn't too complex, but I wrote it a long time ago and no longer remember it. There is no backup for the query anywhere, so I was wondering if the queries I run are logged somewhere that I can get via FTP or if there is a sql query I can run to get the previous queries. Otherwise, is there any way that I can restore that PHP file? Thanks!