![]() |
query_write clears all arrays???
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 |
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:
|