odbc_fetch_row dozent work ?

From: Date: Mon, 02 Oct 2000 07:59:12 +0000
Subject: odbc_fetch_row dozent work ?
Groups: php.dev 
Request: Send a blank email to php-dev+get-33963@lists.php.net to get a copy of this message
Way dozent this code snipe work i want to display 3 rows from my sql7 database. any ide what is wrong.... <? $connect = odbc_connect("phpsweden***r", "****", "*****"); $query = "SELECT * FROM forum"; $result = odbc_exec($connect, $query); $pagerows = 3; while ( odbc_fetch_row($result) < $pagerows ) { $name = odbc_result($result, 3); print "<br>"; print("$name"); } odbc_close($connect); ?>

« previous php.dev (#33963) next »