Quote:
Originally Posted by Colin F
Not that hard....
<snip>
Next time just ask me to code the script for you
|

You are doing no small portion of the code writing, it's true... <sniff>
Again, I apologize for that - and I can only repeat my thanks, for your patience and generosity.
Quote:
Originally Posted by Colin F
No, I'm glad to be of help. I'm sure you'll get the hang of it sooner or later
(I have the feeling I forgot something, not sure what though...)
|
Well, I ran across two things:
1. I needed to change:
if ($thread['whoviewedreset'] != ' ')
To this:
if ($thread['whoviewedreset'] != '0')
Otherwise, the conditional wouldn't work properly.
2. Even with that change, the $whoviewedreset variable is returning this:
$vbop3100o1200[31pm31efoWed, 31 Dec 1969 19:00:00 -050012pm31]
I tried changing "$thread" to "$threadinfo", but that didn't do it.
(Note: for the above example, the actual database value of the "whoviewedreset" field was "1092694706".
Was vbdate called incorrectly, or is there a problem with the SQL Query that sets it?