"mysql_fetch_array returns duplicate data" Code Answer


This is the intended functionality of mysql_fetch_array(). If you want to not have the "duplicates" and just have the associative-array, use mysql_fetch_assoc() instead.


while ($row = mysql_fetch_assoc($data)) { ... }
By kpa6uk228-d1d55cd3ad2f on October 18 2022

Answers related to “mysql_fetch_array returns duplicate data”

Only authorized users can answer the search term. Please sign in first, or register a free account.