merge all php files, SQL style