hi
i from turkey
i can't speak english enough
my php code is:
<?php
echo "<h1>murat sarıkaya</h1"
?>
i want to see php output: <h1>murat sarıkaya</h1>
not
murat sarıkaya
please help me
direct html output
Moderator: General Moderators
direct html output
Last edited by mrtsrky on Tue Oct 14, 2008 2:04 pm, edited 3 times in total.
Re: direct html output
I cannot understand that do you want? If you execute this code
You get '<h1>murat sar?kaya</h1>' in output.
P.S. Maybe I have some problems this translation...
Code: Select all
<?
echo '<h1>murat sar?kaya</h1>';
?>
P.S. Maybe I have some problems this translation...
Re: direct html output
Do you sure that this code return "murat sar?kaya", not "<h1>murat sar?kaya</h1>"? Look at your HTML-code. Or try this code:
What do you see in output?
Code: Select all
<?
echo htmlspecialchars("<h1>murat sar?kaya</h1>");
?>
Last edited by Ziq on Tue Oct 14, 2008 2:21 pm, edited 1 time in total.
Re: direct html output
very very very thanks