PHP - Undefined variable

后端 未结 9 749
星月不相逢
星月不相逢 2021-01-26 05:29

I\'m doing some exercises from Beginners PHP & MySQL by Mr. Tucker.

On his example everything works fine, but on my PC there is an error:

9条回答
  •  野趣味
    野趣味 (楼主)
    2021-01-26 06:07

    As this question has already been answered, I would also add instead of using mysql_fetch_array with the MYSQL_ASSOC parameter, you can just use mysql_fetch_assoc() :)

提交回复
热议问题