Jeff
asked on
What is the PDO equivalent to sqlsrv_query and sqlsrv_fetch_array?
I'm new to PHP and I need to convert two lines of code from sqlsrv to pdo but I do not know the commands or syntax. The code is as follows:
What is the PDO equivalent?
$result = sqlsrv_query($conn,$checkTable);
$data = sqlsrv_fetch_array($result, SQLSRV_FETCH_ASSOC);
What is the PDO equivalent?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER