
December 11th, 2004, 01:48 PM
|
|
Contributing User
|
|
Join Date: Oct 2004
Posts: 79
Time spent in forums: 12 h 31 m 23 sec
Reputation Power: 4
|
|
|
Variable is undefined
I got this error when I try to send a variable inside a file. Please give me some suggestions how to work it out. Thank in advance!
Error:
Quote: Variable ACT is undefined.
The error occurred in C:\www\cms\index.cfm: line 3
1 : <cfinclude template="admin/html/footer.cfm">
2 :
3 : <cfswitch expression="#act#">
4 : <cfcase value= "register"> |
In the file index.cfm
Quote: <cfswitch expression="#act#">
<cfcase value= "register">
<cflocation url="/cms/admin/register.cfm">
</cfcase>
</cfswitch>
<html>
....
<a href="/cms/index.cfm?act=register">Sign up</a><br>
.....
</html> |
|