You can use the URL parameter "number" in the next page as the following:
<CFQUERY datasource="myDSN" name="myQ">
SELECT * FROM myTable
WHERE number = #URL.number#
</CFQUERY>
CFML is much easier than ASP.
CFML works under different OSs (Windows, Unix, Linux, etc) and different Web servers (Apache, IIS, etc..) while ASP works only under windows and IIS.
Goodluck
Hi,
CF application server returns the HTML code as it is, so it doesn't matter if you put HTML tags within the CFOUTPUT tags. I think it's better to use the CFOUTPUT tag on-demand.
Goodluck
SUPPOSING YOU ARE REQUESTING THE VARIABLES FROM A FORM:
<!--- ASP To ColdFusion --->
<cfoutput>
<cfset TeamNumber = "#form.TeamNumber#">
<cfif len(TeamNumber) EQ 0>
<cfset DocumentName = "#form.DocumentName#">
<cfif len(DocumentName) GT 0>
<cflocation...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.