PHP Variable in Select Statement

前端 未结 7 577
滥情空心
滥情空心 2021-01-13 17:50

I\'ve written this PHP-Script which is working, and now I want to change the row name into a variable to (not sure if row is correct), I mean the \"name\" from the selec

7条回答
  •  無奈伤痛
    2021-01-13 18:21

    • Please post in English. Everyone else does.
    • Try using a different fetch method - fetch an associative array, then use the dynamic parameter to retrieve whatever column it is you need.
    • Have you considered using PDO?

提交回复
热议问题