This is probably some basic thing that I'm completely overlooking, but I have a PHP file that outputs some text. I'm going to use a simple file as an example:
[PHP]
<?php
$file = $_GET['file'];
highlight_file($file);
?>
[/PHP]
I'd like the highlighted code to show on an HTML page. Maybe a tag in which I could define the SRC to be "highlight.php?file=code.txt". I've tried iframes, but I'd like to avoid those.
Any ideas?