I am migrated from MySQL to MS SQL Server, and trying to fetch all data from the routines table. I am connected but unsure how to fetch data with sqlsrv. This is how far I have
Try this:
while( $row = sqlsrv_fetch_array( $result, SQLSRV_FETCH_ASSOC) ) { var_dump($row); } sqlsrv_free_stmt($result);