![]() |
Using | as a separator
I seem to have run into a snag with my product. Everything had been going smoothly using the current "|" script I have, but for some reason I can't figure out how to make allowedids be able to separate with the "|"
PHP Code:
PHP Code:
|
Will using the ASCII code for the pipe work? & # 1 2 4 ;
|
explode returns an array of the elements that were seperated by the '|' therefore you should use the in_array function to check and see if the ID is in the array.
PHP Code:
|
Quote:
|
All times are GMT. The time now is 06:33 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:
|