COBRAws
11-07-2007, 05:15 AM
Hello guys, I have a piece of code to get all deleted threads, but I need the number so I can get the closed threads, here is the piece of code so its self explanatory.
$vbulletin->db->query_read("SELECT threadid,forumid FROM " . TABLE_PREFIX . "thread WHERE visible=2");
Which number do I have to put into Visible= to select closed threads instead of value 2 = deleted?
Thanks!
$vbulletin->db->query_read("SELECT threadid,forumid FROM " . TABLE_PREFIX . "thread WHERE visible=2");
Which number do I have to put into Visible= to select closed threads instead of value 2 = deleted?
Thanks!