The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Array Issues
I've made a really simple shoutbox, so that administrators on my forum can put up important messages for all the members to see, just in case they don't browse the forums. This is the code I'm using to pull the posts from my database:
PHP Code:
|
#2
|
|||
|
|||
Use query_read() instead of query_first() and alter the SQL statement to get all "shouts" you want (like the last 3 or whatever).
Then loop through the result with fetch_array() to get the returned rows and post the messages one by one. |
#3
|
||||
|
||||
PHP Code:
Should I try this instead: PHP Code:
|
#4
|
||||
|
||||
Try something like this:
PHP Code:
|
#5
|
||||
|
||||
Thanks SirAdrian -- all working fine, it's much appreciated.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|