Click here to Skip to main content
15,889,808 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello Coders !

EveryThing Is working Fine In My HTML Template But When I Put Php Code , The OutPut Displayed Like This !

Code :
XML
<div class="box">
                    <h3>Recent Activity</h3>
                    <?php
                    echo "Okk !! ";

                    ?>

                </div>




output is nothing ! i dont know where is the error when i put some tag in echo like
echo "

hello

";

then the output is
C#
Okk !!
"; ?>



Kindly Help me out !
Posted
Comments
Kornfeld Eliyahu Peter 6-Jan-14 5:36am    
What the extension of your page file?
Killzone DeathMan 6-Jan-14 5:39am    
I supose that the extension is .php!
Kornfeld Eliyahu Peter 6-Jan-14 5:42am    
I asked him because it seams that PHP engine wasn't involved in the rendering of this page, and one reason is wrong extension (the other is lack of PHP engine :-)).
Killzone DeathMan 6-Jan-14 5:37am    
Humm.. Thats weird! Are you sure that is the only code? maybe you forgot close something in the PHP code? :s
Peter Leow 6-Jan-14 10:13am    
The bugs lie somewhere else, you have to show more code.

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