Syntaxe incorrecte vers 'from'
Bonsoir,
je suis debutante en php et je voulais afficher les differents enregistrements de la table CL_ORA38 alors qu'il m'affiche toujours le même message d'erreur qui est :
Citation:
Warning: odbc_exec() [function.odbc-exec]: SQL error: [Microsoft][ODBC SQL Server Driver][SQL Server]Syntaxe incorrecte vers 'from'., SQL state 37000 in SQLExecDirect
même si je change une autre table c'est la même chose
voici mon code
Code:
1 2 3 4 5
| <?php
$APL = odbc_exec($con,"select * from CL_ORA38");
$num_cl = odbc_num_rows($APL);
echo 'table Nbr : '.$num_cl.'<br>' ;
?> |
y a t-il quelqu'un qui peut m'aider svp.