The Arcive of vBulletin Modifications Site. |
|
|
#1
|
||||
|
||||
|
ok im using a database to store things for inside an array
here is my code: PHP Code:
|
|
#2
|
||||
|
||||
|
You probably need to use the explode function (http://uk.php.net/manual/en/function.explode.php):
PHP Code:
|
|
#3
|
||||
|
||||
|
what would that do? it would just put the 6 and 2 together wouldnt it?
|
|
#4
|
||||
|
||||
|
It'll take the , from the DB entry and make it work in that in_array.
|
|
#5
|
||||
|
||||
|
k
|
|
#6
|
||||
|
||||
|
still not working
![]() PHP Code:
|
|
#7
|
||||
|
||||
|
Just use:
PHP Code:
|
|
#8
|
||||
|
||||
|
This way by steve will work.
but to learn different ways doesn't hurt ![]() you can use this way as well: PHP Code:
|
|
#9
|
||||
|
||||
|
Stop showing off Stefan
^^
|
|
#10
|
||||
|
||||
|
well, it doesn't hurt to learn new ways, does it?
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|