PHP 4.0 Bug #5756 Updated: Invalid sybase connections appearing
| From: | Bug Database | Date: | Mon, 24 Jul 2000 21:30:59 +0000 |
| Subject: | PHP 4.0 Bug #5756 Updated: Invalid sybase connections appearing | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-25851@lists.php.net to get a copy of this message | ||
ID: 5756
Updated by: lyric
Reported By: dclark@opsi.co.za
Status: Open
Bug Type: Sybase-ct (ctlib) related
Assigned To:
Comments:
The code as written will not even give you that. If you're posting a bug report, please
cut'n'paste the sample code - we can't help if you don't describe your problem
properly :)
Anyway, your code is broken :
- the for loop should be seperated by ; not ,
- The parameter to sybase_fetch_row() should be $result not $row
Your problem is that sybase_select_db fails every second time. I'm looking at why now.
Full Bug description available at: http://bugs.php.net/?id=5756