MyBB Community Forums
MyBB Community Forums
>
Community Archive
>
Archived Forums
>
Archived Development and Support
>
MyBB 1.6
>
1.6 General Support
> Query for Showing the sticky threads?
Full Version:
Query for Showing the sticky threads?
You're currently viewing a stripped down version of our content.
View the full version
with proper formatting.
crazy4cs
2011-07-22, 01:50 PM
Am currently trying to get one thing work,
am using the below code at a part for defining the sticky area, code as below:
solved, thanks.
Nathan Malcolm
2011-07-22, 02:05 PM
$stickylist = $db->query("SELECT * FROM ".TABLE_PREFIX."threads WHERE sticky=1 ORDER BY tid DESC");
crazy4cs
2011-07-22, 03:17 PM
thanks man.
Nathan Malcolm
2011-07-22, 03:34 PM
No problem.
MyBB Community Forums
>
Community Archive
>
Archived Forums
>
Archived Development and Support
>
MyBB 1.6
>
1.6 General Support
> Query for Showing the sticky threads?