I'm trying to query the sql server database through php and the field name has an accent and I get the following error.
Warning: sqlsrv_fetch_array() expects parameter 1 to be resource, boolean
the code is:
$sql='SELECT introductión FROM table;
$stmt = sqlsrv_query($conn,$sql);
while( $row = sqlsrv_fetch_array( $stmt ) ) {
echo $row[0];
}