php中sql语句中使用到超级全局变量时为什么要加单引号

$query = "SELECT username,first_name,last_name,gender,birthdate,city,state,
picture from match_user where user_id='".$_SESSION['user_id']."'";

第1个回答  2017-04-12
public只是用在类中,声明类的某个方法或变量属性可以直接在外部调用。追问

你在说什么玩意啊 不懂就不要乱回答了 。

本回答被网友采纳
相似回答