I have a page which is only have strings, something like that:
Hi Hello World
when I do this:
<?php
$var="<iframe src='hi.php'></iframe>";
echo $var;
?>
it worked perfectly
but when I want to do operations on the content strings it won't work:
<?php
$var="<iframe src='hi.php'></iframe>";
$var2 =`echo $var | awk ' { print $1 } '`;
?>
what should I do?
NOTE: I don't want it with js like this, I want it with php.