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 Link to comment https://forums.phpfreaks.com/topic/115344-solved-different-results-from-sql-client/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.