Echo html that contains php -


i tried echoing like:

<?php echo '<div>example created simplify <?php load(somefile.php); ?> </div>'; ?> 

it displays example created simplify.. there way, simple modification of above, can accomplish this.

i of course want display example created simplify , somefile.php. somefile.php , text not cover/block each other.

php server-side language. makes no sense send php code client browser. try this:

<?php echo '<div>example created simplify '.load(somefile.php).'</div>'; ?> 

Comments