|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[1999-05-11 08:56 UTC] sas at cvs dot php dot net
[1999-05-11 09:06 UTC] rasmus at cvs dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Dec 17 01:00:01 2025 UTC |
$res = mysql_db_query("adatabase","select name from persons"); $row = mysql_fetch_array($res); $foo = sizeof($row); $foo is not 1 (number of selected fields), but 2.. I'm having the problem with both stable and dev version of MySQL. Same problem with mysql_fetch_object, but NOT with mysql_fetch_row. I thought that these where the same :)