Fatal error: Function name must be a string in.. PHP error

前端 未结 3 542
旧巷少年郎
旧巷少年郎 2021-01-14 00:15

Hi I have a class called User and a method called insertUser().

function insertUser($first_name, $last_name, $user_name, $password, $email_address, $group_ho         


        
3条回答
  •  说谎
    说谎 (楼主)
    2021-01-14 01:10

    You have a stray $ on mysql_query. Remove it:

    mysql_query($query);
    

提交回复
热议问题