Bendude14 Posted July 18, 2008 Share Posted July 18, 2008 Ok i am using this same query in mySql console and it works fine but when i use it in php i only get one result back... <?php $sql = "SELECT team_name FROM elite_teams WHERE team_id < 10"; $result = mysql_query($sql) or trigger_error('Query failed: '. mysql_error()); $teams_row = mysql_fetch_row($result) or trigger_error('Query failed: '. mysql_error()); ?> Thanks Quote Link to comment https://forums.phpfreaks.com/topic/115344-solved-different-results-from-sql-client/ 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.