The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
multiple-select data from SQL -> readable data
Not a terribly tough question, but suppose I have a multiple-select custom profile field. I ran a SQL query because I want to have a semi-static (updated by me periodically) page that displays a bunch of data that would easily overflow the memberlist width - I want to format things manually. I'm running into the problem of converting the data that's stored for multiple-select menus into what the user actually selected. For example, I have the following:
Code:
a:11:{i:0;s:10:"Apprentice";i:1;s:10:"Journeyman";i:2;s:6:"Expert";i:3;s:7:"Artisan";i:4;s:6:"Master";i:5;s:18:"------------------";i:6;s:17:"Master Apprentice";i:7;s:17:"Master Journeyman";i:8;s:13:"Master Expert";i:9;s:14:"Master Artisan";i:10;s:12:"Grand Master";} I'm a noob at php/vbulletin stuff, so a little bit of detail would help Thanks! |
#2
|
|||
|
|||
<a href="http://www.php.net/unserialize" target="_blank">unseralize()</a>
|
#3
|
|||
|
|||
This may also be of interest: A Closer Look at Bitfields
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|