PHP Variable in Select Statement

前端 未结 7 536
滥情空心
滥情空心 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:17

    You should never put a variable into field list.
    If want a variable field name, select * and then use your variable to fetch particular field

    
    

提交回复
热议问题