title: Difficulty formatting insert into Joomla SQL call in PHP script
body: <p>Here is the PHP snippet:</p>
  
  <pre><code>$rdcno = rawurlencode('[cb_rdcno]');
  $web_id = 'TEST';
  
  $db = JFactory::getDbo();
  $emailListQuery = $db-&gt;getQuery(true);
  
  $emailListQuery = "INSERT INTO `#__update_membership` (`inl_rdcnumber`, `inl_website_id`) VALUES ('$rdcno', '$web_id')";
  $db-&gt;setQuery( $emailListQuery );
  $db-&gt;query();
  </code></pre>
  
  <p>Where did I go wrong with the formatting of the query?</p>