![]() |
My bad coding.
1 Attachment(s)
I guess I need sleep... This code looks right to me, but PHP isn't liking it.
Note: The list I'm altering is SPACE delimited. List looks like this: Code:
1 15 51 68 91 |
What the problem you are receiving?
|
instead of:
PHP Code:
PHP Code:
|
Thanks, Xenon, but the first and last ID won't be surrounded by spaces, will this be able to use those too?
Plus -- My queries aren't working. Returning: Code:
Fatal error: Call to a member function on a non-object in /forums/includes/functions_vbevents.php on line 17 |
Nevermind... Forgot to global $DB_site. ;)
|
Yes, as you can see i added spaces around the $data in the replace function, so it will work :)
|
All times are GMT. The time now is 06:09 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:
|