using functions for a small script that isn't part of a large project is a better idea. OOP comes in when you are lets say building an entire site where your code will be used many many times over for instance
say i have 365 news articles to post instead of having to type out your <table>blahblahblah</tags> for every page including any other required pages that get included in the page, you could write it out one time as a class such as
class Html {
var $title;
var $article;
function printHtml() {
print("<html><head>$this->title</head><body>");
include($this->article);
print("</body></html>");
}
}
now for every one of the 365 pages you need all you need to type is
<?php
include "htmlclass.php";
$html = new Html;
$html->title = "October 25th 2003";
$html->article = "oct25.txt";
$thml->printHtml();
?>
this is a pretty generic example but i think it describes the benifit of OOP pretty well.
hope this helped,
Ben