0

Pease I need your help! I am very new in Php programming,I just downloaded wampserver on my system and also komodo for text editor.I launched komodo to place my text and saved the file with the file extension .php then try to run the script for web browser to display it, but it won't display my code,below is the code I put in the text editor:

<? php 
echo "Hello world";
?>

Can someone tell me what to do for the browser to display my code? responses will be appreciated.

Edited by pritaeas: Added markdown.

4
Contributors
6
Replies
31
Views
3 Years
Discussion Span
Last Post by pzuurveen
0

It's still don't work even I put the code in the text editor without space.

0

Pease I need your help! I am very new in Php programming,I just downloaded wampserver on my system and also komodo for text editor.I launched komodo to place my text and saved the file with the file extension .php then try to run the script for web browser to display it, but it won't display my code,below is the code I put in the text editor:

<?php
echo "Hello world";
?>

Can someone tell me what to do for the browser to display my code? responses will be appreciated.

Edited by pritaeas: Added markdown.

1

Where did you save your file (/wamp/www)? Is WampServer running correctly, is it displaying it's homepage?

Edited by pritaeas

1

Have you checked to see if php is installed and running? If not, create this script and run it from your browser.

<?php
phpinfo();
?>
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.