Getting PHP error Warning: fputcsv() expects parameter 2 to be array

后端 未结 3 1430
深忆病人
深忆病人 2021-01-28 21:00

I have mysql db with different tables. The data between the tables are linked and I retrieve and display them by using the userid. I used the reference from PHP MYS

3条回答
  •  南方客
    南方客 (楼主)
    2021-01-28 21:38

    Read the documentation

    fputcsv should be array of values, you have a there string.

提交回复
热议问题