invalid parameter number , parameter no defined
<p>Trying to insert data in database , but php throwing invalid prameter number ,</p>

<pre><code>$stmt =$pdo-&gt;prepare('    
INSERT INTO '.$_POST['option'].' 
(id,title,description,image,date,city,user,price)
values (null,:titl,:desc,:img,:dte,:cty,:user,:prce)');

$stmt-&gt;execute( array(
    ':titl'=&gt;$_POST['title'],
    ':desc'=&gt;$_POST['description'],
    ':img'=&gt;$item_img,
    ':dte'=&gt;$date,
    ':city'=&gt;$_POST['city'],
    ':user' =&gt;$_POST['name'], 
    ':prce' =&gt;$price,));
</code></pre>

<p>What am i missing ? </p>