title: How can I implement a tag engine in PHP?
body: <p>I've been trying to implement <a href="http://phptagengine.com/" rel="nofollow noreferrer">PHP Tag Engine</a> in my application but only succeeded to do it partially. According to the documentation, to call the HTML form to modify an existing item's tags you should use the following code:</p>
  
  <pre><code>$pte-&gt;html_item_tags($item_id)
  </code></pre>
  
  <p>The thing is that nothing is explained about how to call the tags form for a new item (one which doesn't have an ID yet).</p>
  
  <p>Does anyone know how to do it?</p>
  
  <p>Also, in <strong>$pte->html_item_tags($item_id)</strong> $item_id cannot be null.</p>