Nexus10 Posted June 28, 2010 Share Posted June 28, 2010 $result = mysql_query("SELECT * FROM Users WHERE user_name = '$user_name'"); $result = mysql_fetch_row($result); echo($result[2]); and it keeps echoing "frogQuery" (where frog is the password). It keeps tacking 'Query' on the end, how do I get just 'frog' returned? Quote Link to comment https://forums.phpfreaks.com/topic/206081-query-added-to-end-of-mysql-problem/ Share on other sites More sharing options...
Mchl Posted June 28, 2010 Share Posted June 28, 2010 Is that the end of your code? because 'Query' might be added somewhere further down. Quote Link to comment https://forums.phpfreaks.com/topic/206081-query-added-to-end-of-mysql-problem/#findComment-1078283 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.