ok.. I'm confused..
Basically, what you are trying to establish is that if variable $title == home, you want to excecute the function center() inside a div tag? Otherwise, call the center function (but not inside a div?) do I understand this correctly?
<?php
if($title == 'home'){
echo '<div id = \'home\'>';
center();
echo '</div>';
} else {
center();
}
?>
Is that what you are trying to get at?
Cheers,
NRG
P.S When inserting code into your post, use the PHP button (which inserts the [ PHP] and [ /PHP] tags.. then you can cut and paste your code between these..