PHP is used for backend development only. The scripts are written on the frontend and operate with MySQL or JavaScript depending on the platform.