text: php- mysql plz help?!?!?!?!? $res = mysql_fetch_array(mysql_query ("select * from members where username = '$_session ['username']'"));   "q..." is "query" i dunno y it change it to "q..."!!!! i have this code and i get this error i dunno y warning: mysql_fetch_array(): supplied argument is not a valid mysql result resource in d:&#92;softwares&#92;appserv&#92;www&#92;login&#92;welcome.php on line 8 you have a function using another function's result as it's parameter.  mysql_query is not returning the correct data type that the myspq_fetch_array function is expecting.  probably because:   "select * from members where username = '$_session ['username']'"  is a very weird string to pass to a function in the first place, and maybe the mysql_query function is erroring, and not returning what you are expecting.