Quote:
Originally Posted by Elly
I changed the code to this
Code:
// Birthday cake in postbit
for ($i = 0; $i <= 6; $i++) {
if ( substr($post[birthday],5) == vbdate('m-d',time()) ) {
$bdaycake = " <img src='http://www.ultimaforce.net/asuka/kao/chirolp_cake.gif' border='0' align='absmiddle' alt='Its My Birhtday!!!'> ";
}
}
// END Birthday cake in postbit
and it seems to display the cake to all members on the day of their birthday 
|
why are you hardcoding the path to your images?
it's not necessary, considered poor programming and just one more thing you have to change if your ever change directory structures...