We have a web application written in classic ASP that we wish to convert the programming layer to PHP. We want to keep the UI, HTML, JavaScript, JQuery and SQL Server Database the same. The goal would be to do a direct translation of the website. Please see the two attached files for examples of the code that would need to be translated.