![]() |
Resource ID has us stumped!
Trying add a hack in that does user titles similiar to the way vb does, but where the user can pick the title group.
And fighting with the query.... first one I tried Code:
// ##### Start Secondary Titles ##### Gives a Resource ID. I tried the thing about making it query_first, but then it displays as Array =/ Any help would be appreciated :( Would prefer to do away with the maxposts field, but have no idea how to build or execute an array :( |
Use $DB_site->query() when retrieving more than 1 row from your database. This returns a MySQL resouce ID, that can be used in mysql_fetch_array() within a while loop to iterate through rows.
e.g. PHP Code:
e.g. PHP Code:
|
Thank you so very very much :)
|
All times are GMT. The time now is 11:21 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|