ID: 36462 Updated by: [EMAIL PROTECTED] Reported By: far_mai at yahoo dot com -Status: Open +Status: Bogus Bug Type: ODBC related Operating System: windowsxp PHP Version: 4.4.2 New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Due to the volume of reports we can not explain in detail here why your report is not a bug. The support channels will be able to provide an explanation for you. Thank you for your interest in PHP. Create the appropriate Datasource then. Previous Comments: ------------------------------------------------------------------------ [2006-02-20 15:08:36] far_mai at yahoo dot com Description: ------------ error php connect database foxpro from network but run on my PC is no problem Reproduce code: --------------- <?php $conn=odbc_connect('test','','' ); if (!$conn) {exit("Connection Failed: " . $conn); } else{ echo"<br> pass s"; echo $sql="SELECT order_no from order "; echo"<br> ".$rs=odbc_exec($conn,$sql); } ?> Expected result: ---------------- Warning: odbc_exec(): SQL error: [Microsoft][ODBC Visual FoxPro Driver]File 'cusmst.dbf' does not exist., SQL state S0002 in SQLExecDirect ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=36462&edit=1
