|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2000-08-10 02:02 UTC] thies@php.net
[2000-08-10 04:25 UTC] pete at byways dot org
[2000-08-11 04:49 UTC] pete at byways dot org
[2001-11-25 07:41 UTC] mfischer@php.net
[2001-11-29 15:54 UTC] pete at byways dot org
[2001-11-29 15:55 UTC] derick@php.net
[2001-11-29 16:30 UTC] mfischer@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 15:00:01 2025 UTC |
The following script causes unexpected errors: Function test () { $conn1 = msql_connect(); msql_select_db("nsbo", $conn1); $Res = msql_query("SELECT * FROM State", $conn1); echo msql_NumRows($Res)." rows in State<br>"; msql_close($conn1); } test(); $Res = msql("nsbo", "SELECT * FROM Member"); echo msql_NumRows($Res)." rows in Member<br>"; $Res = msql("library", "SELECT * FROM Publication"); echo msql_NumRows($Res)." rows in Publication<br>"; The output from PHP is this: 60 rows in State 713 rows in Member Warning: 1 is not a valid mSQL-Link resource in /disk2/websites/NSBO/test/test_db.html on line 18 Warning: Supplied argument is not a valid mSQL result resource in /disk2/websites/NSBO/test/test_db.html on line 19 rows in Publication I am using mSQL 2.0.11, PHP 4.0.1, and Apache 3.0.12. My PHP configuration is: ./configure --with-apxs=/usr/sbin/apxs --with-gettext=no --with-msql --with-pgsql --without-mysql --enable-track-vars=yes --with-pdflib=/usr/local --with-zlib --with-jpeg-dir=/usr --with-tiff-dir=/usr --with-session=/tmp --enable-trans-sid