PHP code fails
Posted: Thu Nov 25, 2004 11:28 pm
patrikG | Help us, help you. Please use
all i get is:~
Today's date is:
patrikG | Help us, help you. Please use
Code: Select all
andCode: Select all
tags where approriate when posting code. Read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url][/color]
OK i'm probaby in the wrong section if so please let me know where to post this...
Ok i have a problem, with my PHP, i was using ColdFusion and Dreamweaver, but when ever i tried to run any PHP script it wouldn't display, i then tried IIS but that prompts me to download the PHP file, i don't really do much/any PHP code but i am now confused why i can't run some thing as simple as :~Code: Select all
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Test</title>
</head>
<body>
Today's date is: <?php echo date('j F Y'); ?>
</body>
</html>Today's date is:
patrikG | Help us, help you. Please use
Code: Select all
andCode: Select all
tags where approriate when posting code. Read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url][/color]