title: Getting an error in this Query
body: <pre><code>function saveFile($catId,$docuTitle,$linkTitle) {
  
   $result = mysql_query("INSERT INTO categories (cd_title, cd_link)
                         VALUES ('$docuTitle','$linkTitle') WHERE c_name = '$catID'");    
  
              return 'yes';
  
          }
  </code></pre>
  
  <p>I want to insert the cd title and cd links based on the catergory selected.</p>