Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

mysql_fetch_array()

Guest
Feb 10, 2010 Feb 10, 2010

What is better to use:

mysql_fetch_assoc($results)

or

mysql_fetch_array($result, MYSQL_ASSOC)

I keep getting a mysql_fetch_array error – but not every time which makes me think my query is OK. So it might have to do with how this is set.

TOPICS
Server side applications
312
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

LEGEND , Feb 11, 2010 Feb 11, 2010

Neither. They are identical.


Translate
LEGEND ,
Feb 11, 2010 Feb 11, 2010
LATEST

Neither. They are identical.


Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines