![]() |
How to read values in an array
1 Attachment(s)
Newbie: I am writing my first vB php module and need some help in using the output results of my query.
I have created 2 functions:
Running my query returns three columns of data (see picture1.png).
The code I use is: PHP Code:
PHP Code:
In the second function I want to read the array. I want to call the function like: (or equivalent) PHP Code:
Q: How do I proceed? Regards Coen |
You should be able to use the values in that array as $rc['forumid'], $rc['title'] and $rc['cntthread'] Loop through them?
|
All times are GMT. The time now is 09:23 PM. |
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:
|