I know this is more like a HTML question - please forgive me.
When I post my PHP scripts on a web page for my supervisor to view, the browser messes about with the code formatting and something execute part of the script. Even if a put the "code" or "pre" tags in the HTML file. How can I avoid this please.
Posting PHP code on webpages
Moderator: General Moderators
Hi,
try it with
this works fine, with nice highlighting!
greez Pozor
try it with
Code: Select all
<?php
show_source($file);
/*
$file should be like that -> $file='file_to_show.php';
*/
?>greez Pozor