note 30131 added to function.odbc-exec
| From: | das_yrch at hotmail dot com | Date: | Fri, 07 Mar 2003 09:17:14 +0000 |
| Subject: | note 30131 added to function.odbc-exec | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-44972@lists.php.net to get a copy of this message | ||
I tried this way to see the results of a query and it works!!
$Conn = odbc_connect
("bbdd_usuaris","","",SQL_CUR_USE_ODBC );
$result=odbc_exec($Conn,"select nom from usuaris;");
while(odbc_fetch_row($result)){
for($i=1;$i<=odbc_num_fields($result);$i++){
echo "Result is ".odbc_result($result,$i);
}
}
--
http://www.php.net/manual/en/function.odbc-exec.php
http://master.php.net/manage/user-notes.php?action=edit+30131
http://master.php.net/manage/user-notes.php?action=delete+30131
http://master.php.net/manage/user-notes.php?action=reject+30131