after $data = dbarray($result) and $tt = time()-$data['post_datestamp']; write this:
[syntaxhighlighter brush=php,first-line=1,highlight=0,collapse=false,html-script=false]echo "$tt - ".time()." - ".$data['post_datestamp'];[/syntaxhighlighter]
you should have values for for all 3 variables, if not, this display should help you determine which variable is the troublesome one.
0 replies