New Welcome XAMPP and docs

Problems with the Windows version of XAMPP, questions, comments, and anything related.

New Welcome XAMPP and docs

Postby Zah » 05. January 2016 00:46

Windows 7 Enterprise
32 bit OS

Hi I am new to php I have installed xamppp and have check the status in the control panel for apache and mysql both are running as shwon in below screen shot. However when I create a small php program like this
Code: Select all
<?
echo "Hello from php";


and then I saved this at this location as per the book I am following titled "PHP for Absolute Beginners 2nd Edition"
C:\xampp\htdocs\ch1\test.php

When I run this in my google chrome browser It simply displays blank page without the echo output "Hello from php"

Please let me know what needs to be done.

Thank You
Zah
 
Posts: 2
Joined: 04. January 2016 12:21
Operating System: Windows 7 Enterprise 64 bit

Re: New Welcome XAMPP and docs

Postby Altrea » 05. January 2016 01:02

Hi,

I have splitted your post from the original topic. How do you think is that topic related to "New Welcome XAMPP and docs"?

Related to your issue: Don't use short open tags <? use the full version of it <?php

best wishes,
Altrea
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 8290
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

First Php Program

Postby Zah » 05. January 2016 01:17

Hi,
Thanks for that, I have now included both tags as in below saved the file and again run it on the chrome browser as http://localhost/ch1/test.php but still it is blank

Code: Select all
<?
echo "Hello from php";
?>
Zah
 
Posts: 2
Joined: 04. January 2016 12:21
Operating System: Windows 7 Enterprise 64 bit

Re: New Welcome XAMPP and docs

Postby Altrea » 05. January 2016 01:34

You did not changed what i suggested.
Maybe you should reread my post again.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 8290
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 68 guests