FYI: upon refreshing I recieved this error.
select threads26.tid, threads26.mid from threads26, messages26 where threads26.tid >= Arraymintid and threads26.tid <= Arraymaxtid and threads26.mid >= Arrayminmid and threads26.mid <= Arraymaxmid and threads26.mid = messages26.mid and ( messages26.state = 'Active' ) order by threads26.tid desc limit 0,50
Error #1054: Unknown column 'Arraymintid' in 'where clause'



