Running php code

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
Rubel Rana
Forum Newbie
Posts: 4
Joined: Sun Jun 29, 2014 8:18 am

Running php code

Post by Rubel Rana »

Hello every one,
Im new in php,im facing a problem.I am using xampp. I am trying to run my php code,which is in xampp->htdocs folder.But when i try to open my php file with mozila firefox,the browser starts to opening tabs serially,it doesnt stop and my code doesnt work.How can i get out of this? I know this is the system,but why my code behaving like this? Please help me .

Thanks in advance.
User avatar
Celauran
Moderator
Posts: 6427
Joined: Tue Nov 09, 2010 2:39 pm
Location: Montreal, Canada

Re: Running php code

Post by Celauran »

That sounds exceedingly odd. Hard to guess at anything without seeing the code, mind you.
Rubel Rana
Forum Newbie
Posts: 4
Joined: Sun Jun 29, 2014 8:18 am

Re: Running php code

Post by Rubel Rana »

Code: Select all

<html>
	<head>
	
	<title>Rana's website</title>
	
	</head>
	
	<body>
		<?php
		echo "Hellow Rana";
		?>
	</body>
	
</html>

User avatar
Celauran
Moderator
Posts: 6427
Joined: Tue Nov 09, 2010 2:39 pm
Location: Montreal, Canada

Re: Running php code

Post by Celauran »

Rubel Rana wrote:But when i try to open my php file with mozila firefox,the browser starts to opening tabs serially,it doesnt stop
This behaviour is definitely not caused by the code you posted above.
But when i try to open my php file with mozila firefox
How are you doing this? Pointing your browser to http://localhost/filename.php? Do things work as expected when you just visit localhost?
Post Reply