1
This is the result: The result of the name has no accent
The code works on my machine, but on the server this problem.
<?php
$con1=odbc_connect('***','***','***');
$sql = " SELECT *
FROM tabela
WHERE matricula = 3050";
$res = odbc_exec($con1, $sql);
while (odbc_fetch_row($res)) {
$nome = (odbc_result($res, 'xxx'));
$matricula = (odbc_result($res, 'xxx'));
}
echo 'Nome: '.$nome .'<br>Matricula: '.$matricula;