PHP Not running on my two browsers

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
shaggydeh
Forum Newbie
Posts: 1
Joined: Mon Oct 25, 2010 10:23 pm

PHP Not running on my two browsers

Post by shaggydeh »

i am new on php i installed xampp server that is running but i can not run it on my IE8 and Firefox 3.61 for the past 2weeks i created this file below using Notepad++ the output i got after running on the two browsers was blank

Code: Select all

<?php
"hello world!";
?>
i saved as thing.php

i typed http://localhost/thing.php on my 2 browsers but i got a blank output not hello world!
Who can resolve this for me i can not learn php until i can resolve this.
Last edited by Benjamin on Tue Oct 26, 2010 1:03 am, edited 1 time in total.
Reason: Added [syntax=php] tags.
josh
DevNet Master
Posts: 4872
Joined: Wed Feb 11, 2004 3:23 pm
Location: Palm beach, Florida

Re: PHP NOT RUNNING ON MY TWO BROWSERS

Post by josh »

try instead:

Code: Select all

<?php
echo 'hello world';
please use

Code: Select all

 tags. (quote my post to see how to put the code blocks)
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Re: PHP NOT RUNNING ON MY TWO BROWSERS

Post by Benjamin »

:arrow: Moved to Installation and Configuration
:arrow: Removed All Capital Title
Post Reply