title: Fatal error: Function name must be a string in.. PHP error
body: <p>Hi I have a class called User and a method called insertUser().</p>
  
  <pre><code>function insertUser($first_name, $last_name, $user_name, $password, $email_address, $group_house_id)
    {
      $first_name = mysql_real_escape_string($first_name);
      $last_name = mysql_real_escape_string($last_name);
      $user_name = mysql_real_escape_string($user_name);
      $password = mysql_real_escape_string($password);
      $email_address = mysql_real_escape_string($email_address);
  
      $query = "INSERT INTO Users
                (FirstName,LastName,UserName,Password,EmailAddress, GroupHouseID) VALUES
                ('$first_name','$last_name','$user_name','$password','$email_address','$group_house_id')";
      $mysql_query($query);
    }
  </code></pre>
  
  <p>And I call it like this:</p>
  
  <pre><code>$newUser = new User();
  $newUser-&gt;insertUser($first_name, $last_name, $user_name, $email, $password,          $group_house_id);
  </code></pre>
  
  <p>When I run the code I get this error:</p>
  
  <pre><code>Fatal error: Function name must be a string in /Library/WebServer/Documents/ORIOnline/includes/class_lib.php on line 33
  </code></pre>
  
  <p>Anyone know what I am doing wronly? Also, this is my first attempt at OO PHP.</p>
  
  <p>Cheers,</p>
  
  <p>Jonesy</p>