title: MySQL Query: find the category id in the products table, however id is wrapped like `&12&`
body: <p>I need to find the category id in the products table below. However the <code>cms_ecom_categories.id</code> is wrapped with the <code>&amp;</code> character like <code>&amp;12&amp;</code>.  Is there some kind of wild card I could use to wrap around? like <code>%cms_ecom_categories.id%</code> ?</p>
  
  <pre><code> $sql = "SELECT * FROM cms_ecom_products, cms_ecom_categories 
           WHERE cms_ecom_products.pCategories = cms_ecom_categories.id
                 AND cms_ecom_categories.slug = ".$page."";
  </code></pre>