Click here to Skip to main content
15,889,509 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i'm self studying PHP language?

i'm using net beans to run codes?

if i run this code?
Eg:
PHP
<?php
echo "<h2>PHP is fun!</h2>";
echo "Hello world!<br>";
?> 



it will display with echo words

and if i run through net beans it will pops up empty page in web browser?

but if i run manually it will works?
but it will show echo word as well?

do i have to change settings in netbeans for that? or any possible solution please
Posted
Updated 5-Dec-13 22:48pm
v2

1 solution

Your code is fine. I suggest walk through the following tutorial and you should be able to find the solution yourself.

https://netbeans.org/kb/docs/php/quickstart.html#setUpProject[^]
 
Share this answer
 
Comments
promod madushan 6-Dec-13 6:44am    
I did as it says? but still same problem?
do u konw any good ide for PHP?
Peter Leow 6-Dec-13 7:10am    
You may try Eclipse PDT:

http://www.eclipse.org/pdt/downloads/
promod madushan 6-Dec-13 7:22am    
Thanks Mate!!
Peter Leow 6-Dec-13 7:39am    
You are welcome. Happy learning.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900