hmmm i'm confused... this is my code.
PHP Code:
if($lastbred == '') {
$article_content .= '';
} else {
$article_content .= 'Last bred: '.date('Y-m-d', $lastbred).'<br>
'.date('Y-m-d', time()). '<br>';
}
some caught eggs are showing
Last bred: 1969-12-31
2011-08-10
but the rest print nothing including laid eggs which is how it's suppose to be
oh i see why... some say nothing for last bred and some say 0. how can i fix that?
and a pet i bred today shows
Last bred: 2011-08-10
2011-08-10