Copy link to clipboard
Copied
I am working my way through the Lynda.com PHP Essential Training.
I have MYSQL, Apache & PHP all installed an working.
If I type this code into textedit, and save it as test.php, and view it in Safari, then every works as expected:
<head>
<title>PHP test</title>
</head>
<body>
<?php echo "Hello World!"; ?>
</body>
</html>
and I see "Hello World!" on the screen.
If I create a new PHP file in Dreamweaver CS4 and enter
<?php echo "Hello World!"; ?>
I see that the code looks pretty much identical in the code pane, but when I run it, instead of seeing "Hello World" I see: <?php echo "Hello World!"; ?>.
Clearly, there is something (presumably to do with the server side, that I am not setting properly, BUT WHAT??? I am absolutely pulling my hair out over this.
Any suggestions??
Thanks,
Peter
Copy link to clipboard
Copied
This is a duplicate thread. Now locked.