title: putting a series of php variables in a sql query?
body: <p>I'm trying to put a series of php variables in a sql query.</p>
  
  <p>The way I understand it, it should look like this       </p>
  
  <pre><code>        Db_DbHelper::query('insert into shop_order_notifications(order_id, message, created_at)
          values ('.$order-&gt;id.','.$message.','.$emailPubDate.')' );
  </code></pre>
  
  <p>However, it's not working for some reason. All the variables and database columns are there, and when I replace the PHP variables with simple strings for just testing, they work.</p>
  
  <p>Can anyone tell me if this is the right syntax or not?</p>
  
  <p>Thank you</p>