title: FATAL ERROR syntax error, unexpected T_STRING on line number 48
body: <p>I have this "FATAL ERROR syntax error, unexpected T_STRING on line number 48", can't figure why? I'm total php beginner. :)</p>
  
  <pre><code>    public function __construct ($order, $params=array()) {
          $this-&gt;order_info=$order;
          $this-&gt;params = ( !empty($params) ) ? $params : $this-&gt;params;
      }
  
      public function sendMessage($phone_number, $msg_text){
  
              $phone_number = trim(str_replace(" ", "", $phone_number));          
              $user = $this-&gt;params['user'];
              $password = $this-&gt;params['password'];
              $senderID = $this-&gt;params['sender'];
              $curl = curl_init();
              $query_string = "http://gateway80.onewaysms.sg/api2.aspx?apiusername=".$user."apiusername&amp;apipassword=".$password."&amp;senderid=".$senderID."&amp;mobileno=".$phone_number."&amp;message=".rawurlencode(stripslashes($msg_text))."&amp;languagetype=1"
              curl_setopt($curl, CURLOPT_URL, $this-&gt;$query_string); // here is the error
              $result = curl_exec($curl);
              curl_close($curl);
              echo $result;
              return new stdClass;
       }
  </code></pre>
  
  <p>Thank you for your help.</p>
  
  <p>Cheers</p>