kigroy Posted December 11, 2008 Share Posted December 11, 2008 i created a file using this code <html> <head> <title>PHP Test</title> </head> <body> <?php echo '<p>Hello World</p>'; ?> </body> </html> This is what browsers read when I test it locally on my machine: Hello World '; ?> What is going on? I'm using Dreamweaver 8 to edit files and save them and I open them with the Preview/Debug in browser inside Dreamweaver 8. Also please note that I'm have not installed any thing like WAMP or XAMPP. Is that the problem? Thanks! Link to comment https://forums.phpfreaks.com/topic/136464-seeing-on-my-page/ Share on other sites More sharing options...
mrdamien Posted December 11, 2008 Share Posted December 11, 2008 I open them with the Preview/Debug in browser inside Dreamweaver 8. Also please note that I'm have not installed any thing like WAMP or XAMPP. Is that the problem? Yes that is the problem. PHP files need to be parsed, otherwise your page will show your source code. Link to comment https://forums.phpfreaks.com/topic/136464-seeing-on-my-page/#findComment-712270 Share on other sites More sharing options...
AviNahum Posted December 11, 2008 Share Posted December 11, 2008 you need to install something like WAMP... php files can be read only with a server... in dreamwaver it's shows you only the soucre code... Link to comment https://forums.phpfreaks.com/topic/136464-seeing-on-my-page/#findComment-712273 Share on other sites More sharing options...
kigroy Posted December 12, 2008 Author Share Posted December 12, 2008 Got it fixed! Thanks.... Link to comment https://forums.phpfreaks.com/topic/136464-seeing-on-my-page/#findComment-713328 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.