求几个ODBC 函数中文说明 本帖最后由 keyend 于 2009-10-12 15:11:31 编辑 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 odbc_tables ( resource $connection_id [, string $qualifier [, string $owner [, string $name [, string $types ]]]] ),好像没有像 mysql_insert_id 这样的函数。 odbc中的函数是没有跟mysql一一对应的,mysql函数和功能要比odbc强很多,你最好不要把mysql的思维带到odbc中来。 Here a Code for listing Table names(一段显示表名代码)<?php$dbh = odbc_connect($dsn, $user, $pwd); $result = odbc_tables($dbh); $tables = array(); while (odbc_fetch_row($result)){ if(odbc_result($result,"TABLE_TYPE")=="TABLE") echo"<br>".odbc_result($result,"TABLE_NAME"); }?> php超全局数组问题 正则全局匹配,怎样才能在同一行内匹配多条字符串?求帮忙! 请教高手 关于Smarty的问题!!! 写了个带事务的通用数据库操作类,大家提下意见. PHP如何将一个图片格式转换为另一个? 奇怪的问题。。。 发个无聊的效率测试…… 帮忙看下为什么返回不了内容 如何得到php当前执行的页面文件名 为啥下载的文件会是损坏的额?? 这是什么问题??????? 求大神什么的 windows7下iis配置php 如何得到这个组合?得到多维数组的排列组合结果。
好像没有像 mysql_insert_id 这样的函数。
<?php
$dbh = odbc_connect($dsn, $user, $pwd); $result = odbc_tables($dbh); $tables = array();
while (odbc_fetch_row($result)){
if(odbc_result($result,"TABLE_TYPE")=="TABLE")
echo"<br>".odbc_result($result,"TABLE_NAME"); }
?>