[PHP] mysql_fetch_array problem? O.o

2004-04-14 Thread Jeff Ostapchuk
Ok, I have no clue what version of PHP I have installed, 4.??.??, and I have
like the newest version of MySQL insatlled, and PHP and MySQL work fine
together, excpet when I use mysql_fetch_row($query)   then I have problems,
mysql_fetch_array($query) works fine, but not mysql_fetch_row($query). Why
doesn't it work? I tried installing the new PHP 5 version, but when i
extracted it from the zip file into the C:\PHP folder and then PHP didn't
even work at all (so... u can kinda tell i'm a still a noobie at this
^.^;;; ) Thank in advance to whoever.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] mysql_query won't work!!!

2004-04-15 Thread Jeff Ostapchuk
ok, this same query, works EVERYWHERE ELSE, why won't it work now? it
returns to me:
  Warning: Supplied argument is not a valid MySQL result resource

$query_result = mysql_query("SELECT * FROM AotH_Users");
while ($row = mysql_fetch_array($query_result, MYSQL_NUM)){

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php