First. I'm your stereotypical new guy. I have to move a site from using sqlsrv to using mysql. Fortunately, there does not appear to be much sqlsrv code other than the following:
$result = sqlsrv_query($conn,$checkTable); $data = sqlsrv_fetch_array($result, SQLSRV_FETCH_ASSOC);
The site is being moved from PHP 5.3 to a PHP 7 environment and will be connecting to MySQL instead of SQL server. I have no idea how to recode this small piece.