During my conversion to use sessions, and turning register globals
off, I've run into this problem.. So far the first and only...

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL
result resource in /var/www/html/web/timesheetsessions/index.php on
line 26


Here are lines 25, and 26:

  $result = mysql_query("SELECT * FROM `users` WHERE `uname` =
'".$_POST['username']."'");
  $row = mysql_fetch_array($result);

Do I have a typo somewhere or something? Or did I fudge something?

Thanks,

Jake McHenry
Nittany Travel MIS Coordinator
http://www.nittanytravel.com

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

Reply via email to