यह कोई त्रुटि नहीं है, यह mysql_fetch_array() . का इच्छित व्यवहार है https://us.php.net/manual/en /function.mysql-fetch-array.php
आप या तो result_type सेट कर सकते हैं ध्वज, या आप बस उपयोग कर सकते हैं mysql_fetch_assoc() बजाय। https://us.php.net/manual/en /function.mysql-fetch-assoc.php