title: Coldfusion CFIF statement
body: <p>I am trying to check the contents of 2 form elements against existing database enties and then if either of them are differnet run a conditional option but I am having some issues as the below does not seem to be working. Am I doing something wrong?</p>
  
  <pre><code>&lt;cfquery name="qLiveService" datasource="#application.datasource#"&gt;
   SELECT broadcastPackage, AdditonalDVDs 
   FROM dbo.tributes
   WHERE profileID = 122&gt;
  &lt;/cfquery&gt;   
  
  
  
  &lt;cfif qLiveService.broadcastPackage is form.broadcastPackage and qLiveService.AdditonalDVDs is form.AdditonalDVDs &gt;
  
  &lt;!--- do something --&gt;
  
  &lt;cfelse&gt;
  
  
  &lt;!--- of one was different now run the code in this area --&gt;
  
  &lt;/cfif&gt;
  </code></pre>