I am having an issue where my variable output is displaying the variable name and not it's value. I am currently using a MacBook Pro running OS X Yosemite. I am using ColdFusion Builder 3 to build the code and MAMP to run a local server. I have a very simple output to test whether or not I am getting correct output. The code is as follows:
index.cfm
<!DOCTYPE html>
<html>
<head>
<title>Demo</title>
</head>
<body>
<h1> hello world</h1>
<cfsetname = "John">
<cfoutput>#name#</cfoutput>
</body>
</html>
After running this code, I receive the result:
hello world
#name#
I am confused on why the variable is displayed as the actual variable name and not its value. When running the exact same code in a windows environment, I receive the result as expected.