Hello Chapps,
I have the following CFQuery at the top of my document.
The variable #ID# has been submitted from another .cfm file, my question is that if there is no #ID# variable submitted i want it to use the value of "1" as the "ID".
Thanks for your help,
Rob
I have the following CFQuery at the top of my document.
Code:
<CFQUERY NAME= "content" DATASOURCE= "managem6">
SELECT * FROM page_content WHERE id = "#ID#"
</CFQUERY>
The variable #ID# has been submitted from another .cfm file, my question is that if there is no #ID# variable submitted i want it to use the value of "1" as the "ID".
Thanks for your help,
Rob