|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2001-04-18 20:26 UTC] cnewbill@php.net
[2001-04-18 20:29 UTC] cnewbill@php.net
[2001-04-19 16:42 UTC] pmarks at employees dot org
[2001-04-19 17:40 UTC] cnewbill@php.net
[2001-05-10 05:51 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 10:00:01 2025 UTC |
Here is the code I am using that produces the error: <?php $db = mysql_connect("localhost"); mysql_select_db("ue", $db); $result = mysql_query("SELECT * FROM jobsc"); $rows = mysql_num_rows($result); ?> on the last line is where the error is generated. In any browser, I see: Warning: Supplied argument is not a valid MySQL result resource ... My setup contains apache 1.3.19 with the static PHP 4.0.4pl1 module compiled in. My configure lines for PHP are: ./configure --with-apache=/home/apache_1.3.19 --with-mysql=/usr/local/mysql /usr/local/mysql is the install directory for mysql That is all the information I believe I have, and I'm relatively sure that PHP is not crashing, per say.