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? 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. 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
Archived
This topic is now archived and is closed to further replies.