I am using php. This code does not work:
<?php
$str="<?palash";
print($str);
no output but it works as soon as I introduce a space between < and ?
<?php
$str="< ?palash";
print($str);// prints '< ?palash'
I am using php. This code does not work:
<?php
$str="<?palash";
print($str);
no output but it works as soon as I introduce a space between < and ?
<?php
$str="< ?palash";
print($str);// prints '< ?palash'
It doesn't print <b?palash
because it has special characters in it.
If you want to print string with special characters then you should use htmlentities
function: print htmlentities($str);