PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
is it a good idea to put a lot of "if" functions on your sidebars,
like:
<a href="newsup.php">
<font face="Tahoma" color="black" size="1">
<?php
if ( is_dir("newsup"))
print "NewsUpdate";
?>
</a>
</font>
or will it take to long to load?
is there a much much much better way?
Well without knowing exactly what you are trying to achieve it is difficult to say if there is a better way...
But if you're that worried about speed, having a CSS file with font definitions in there will make the page load faster than having lines and lines of font tags.