Skip navigation
Currently Being Moderated

Help With Simple CFIF question please

Apr 24, 2012 5:58 PM

    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?



<cfquery name="qLiveService" datasource="#application.datasource#">

        SELECT broadcastPackage, AdditonalDVDs

        FROM dbo.tributes

        WHERE profileID = 122>




<cfif qLiveService.broadcastPackage is form.broadcastPackage and qLiveService.AdditonalDVDs is form.AdditonalDVDs >


<!--- do something -->




<!--- of one was different now run the code in this area -->



More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points