Maison >développement back-end >tutoriel php >php + oracel 有关问题
php + oracel 问题?
<!--Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> $strSql = "SELECT BUYER_ID, BUYER_NAME FROM apps.buyr_info WHERE BUYER_NAME LIKE 'a%' "; $conn = odbc_connect('cle','evlp','evlp',SQL_CUR_USE_ODBC) or die ("连不上数据源"); $result =odbc_do($conn,$strSql)or die("执行不到声明"); while(odbc_fetch_row($result)){ $BUYER_NAME =odbc_result($result,1); echo " MM NN PP "; echo $BUYER_NAME; }
<!--Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->$strSql = "SELECT BUYER_ID, BUYER_NAME FROM apps.buyr_info ";