there's a syntax error in this mysql statement.. please help.. thanks a ton..

$fetch_users_data = mysql_fetch_object(mysql_query("SELECT * FROM 'members' WHERE username=".$_SESSION['username'].""));

---------- Post added 16th Apr 2012 at 07:04 AM ---------- Previous post was 15th Apr 2012 at 11:38 AM ----------

bump
gamma Reviewed by gamma on . mysql syntax error there's a syntax error in this mysql statement.. please help.. thanks a ton.. $fetch_users_data = mysql_fetch_object(mysql_query("SELECT * FROM 'members' WHERE username=".$_SESSION."")); ---------- Post added 16th Apr 2012 at 07:04 AM ---------- Previous post was 15th Apr 2012 at 11:38 AM ---------- bump Rating: 5