I have a php site that was running fine on Windows Server 2008 in IIS. That server is being decommissioned and I was given a Windows Server 2012 R2 Server running IIS 8.5. The site is working fine except for an html table that is poplulated by a call to a database on a Microsoft SQL Server. This code works fine on the previous server. I have attached the code at issue. It appears to be related to the odbc_fetch_row statement. Any guidance would be greatly appreciated since I have to have this site up and running on the new server by June 1st.
The database connection works for populating the rest of the page, so I know I am connecting to the database without issue. I can also run the SQL statement directly on the database and it returns data.
problem_code.txt (3.45 KB)