View Full Version : Can somebody double check me?

05-09-2007, 02:18 PM
Hi guys,

I wanted to know if this code was right:

<cfif #qWSum.recordCount# EQ 0>
<td class="qData2" colspan="2"><strong>Table is Empty. No records found!</strong></td>
<cfif #wSum# LT #wConst#>
<td class="qData2"><strong>#wSum#</strong></td><td class="qData2">#WYSEDiff#</td>
<td class="qData"><strong>#wSum#</strong></td><td class="qData">#WYSEDiff#</td>
I have a query by that name qWSum and wanted to know if that qWSum.recordCount was correct or not. Thanks a bunch!

OH! And congrats on the "new" forum (I've been away for a while) I really like it!

05-09-2007, 06:10 PM
Assuming it is not case-sensitive, yes, that's right.


05-10-2007, 02:29 PM

Also, I was wondering if I could get some help. I'm not completely new to ColdFusion or PHP, but, I was wondering if I could get some pointers as to how to create a self-validating page (passing data to the same page), I'm still not sure on how I would go about that. Could I get some pointers and examples?

05-11-2007, 12:00 AM
form action to self, then check to see if it is set or not and either echo the form or what not if it isnt and if it is execute code

if (isset($_GET['name'])) {
do this;
echo "form";