After many trial and error, my block works fine. But it worked only because I had to remove all html and javascript codes inside the php script. I couldn't parse other scripts in the PHP Block unless its only php script.
Is there anyone with suggestion on how to get the PHP block working with php code that contains html or java codes?
Here is mine the couldn't work:
<?php
include "config.php";
include "functions.php";
?>
<script language="javascript" see more type="text/javascript">
if(top!=self)
{
top.location.href=self.location.href;
}
</script>
Is there anyone with suggestion on how to get the PHP block working with php code that contains html or java codes?
Here is mine the couldn't work:
<?php
include "config.php";
include "functions.php";
?>
<script language="javascript" see more