The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
Greetings All,
I am just plain missing something. I am writing and admincp script. It gathers data from the post table, loops through it, and makes some changes base on what is found. I store some data in arrays. Then display a report of the scripts action. The script functions without error. But... if I have one query_write call, the arrays always return zero (0). For example: PHP Code:
But, if I add just one query_write, the result is always: 0 -- 0 (i.e. the count() function returns 0 because the arrays are now empty) All the query_read's/query_write's work as expected. I even tried putting all queries for the query_write function in an array and loop through them at the end of the script. After the print_'s: PHP Code:
--RayJ --------------- Added [DATE]1256519837[/DATE] at [TIME]1256519837[/TIME] --------------- Well... disregard. I change the script to a cron. Problem solved. --RayJ |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|