I have a KB page where I paste samples codes.
In this forum the tags "code" are used to wrap around code and upon submission the code is neatly wrapped.
I believe we need to use CSS for this. I would really appreciate if someone can paste the code for that.
Can I have the code used behind the "code" tag that will make my sample code in a page look like this.
Code: Select all
<?php
if ($cookiestatus <> 'loggedin')
{
$url = 'error.php';
header("Location: $url");
}
$name = $_COOKIE['name'];
?>Thanks