[PHP-DB] Re: Problem with odbc_next_result

2001-09-12 Thread Daniel Bennett

Michael - could seem to reply to your email address... here's the code

where $res is a valid result_id (I've tested it without the
odbc_next_result):

do {
while ($odbc_get_into($res,$row)) {
print $row[0]br;
}
} while ($odbc_next_result($res));

Seems to crash on the first call to odbc_get_into after odbc_next_result



Daniel Bennett [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 Hi,

 Anyone had problems with odbc_next_result on WinNT?

 I can call the function, but as soon as I try to get a row from the next
 result set, php crashes.

 Any ideas?

 Daniel Bennett
 [EMAIL PROTECTED]





-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DB] Re: Problem with odbc_next_result

2001-09-12 Thread Daniel Bennett


PS - Ignore the $'s in front of odbc - typo!

Daniel Bennett [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 Michael - could seem to reply to your email address... here's the code

 where $res is a valid result_id (I've tested it without the
 odbc_next_result):

 do {
 while ($odbc_get_into($res,$row)) {
 print $row[0]br;
 }
 } while ($odbc_next_result($res));

 Seems to crash on the first call to odbc_get_into after odbc_next_result



 Daniel Bennett [EMAIL PROTECTED] wrote in message
 [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
  Hi,
 
  Anyone had problems with odbc_next_result on WinNT?
 
  I can call the function, but as soon as I try to get a row from the next
  result set, php crashes.
 
  Any ideas?
 
  Daniel Bennett
  [EMAIL PROTECTED]
 
 





-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP-DB] Re: Problem with odbc_next_result

2001-09-12 Thread Andrew Hill

Daniel,

What driver are you using?
I'll check your code against another one for comparison's sake, and do some
property queries.

Actually, if you want to query the driver for it's features yourself, you
can download a trial of ODBCScan from our site.

Best regards,
Andrew Hill
Director of Technology Evangelism
OpenLink Software  http://www.openlinksw.com
Universal Data Access  Data Integration Technology Providers

 -Original Message-
 From: Daniel Bennett [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, September 12, 2001 11:47 AM
 To: [EMAIL PROTECTED]
 Subject: [PHP-DB] Re: Problem with odbc_next_result


 Michael - could seem to reply to your email address... here's the code

 where $res is a valid result_id (I've tested it without the
 odbc_next_result):

 do {
 while ($odbc_get_into($res,$row)) {
 print $row[0]br;
 }
 } while ($odbc_next_result($res));

 Seems to crash on the first call to odbc_get_into after odbc_next_result



 Daniel Bennett [EMAIL PROTECTED] wrote in message
 [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
  Hi,
 
  Anyone had problems with odbc_next_result on WinNT?
 
  I can call the function, but as soon as I try to get a row from the next
  result set, php crashes.
 
  Any ideas?
 
  Daniel Bennett
  [EMAIL PROTECTED]
 
 



 --
 PHP Database Mailing List (http://www.php.net/)
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]




-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]