0

i hav a problem

m new to php nd i started with writin my first page but whenever i start my browser i see the complete code and nt the output i need

i wrote

<html>
	<title>my php page</title>
	<body>
	<?php
		echo "hello there!";
	?>
	</body>
</html>

the output is d same text above

help me

6
Contributors
8
Replies
9
Views
8 Years
Discussion Span
Last Post by Yayo_SK
0

Your probably not previewing the file via through the server. What testing server are you using? Make sure your url is something like with http://localhost/filename.php. Where filename.php is your file. Also make sure the file is saved in your htdocs folder.

0


i hav wamp5

i dnt knw....m writin d url correctly....

0

i downloaded apache http server 2.2, php 5 and mysql server 6.0...... dere occured a problem in php5 sayin dat manually configure ur server...bt i really dnt knw how to do that...

nd one more thing i need a connector for php and mysql

d links on d google site r broken

plz help out

0

you might run this program directly from the browser, you need to have some web server, just install WAMP or XAMPP on your PC, if you are windows user

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.