I'm running a login system and securing pages with a session_start(); I registered the $user_name in the session but when I try to run a select statement to access the database
and user the mysql_fetch_array() ie
$row = mysql_fetch_array($result);
I Receive a error like this
Warning: Supplied argument is not a valid MySQL result resource.
thus I can't access the database
ps. I user the user_name in the where clause
any Help is appreciated
TIA
Richie TM