View Single Post
  #69  
Old 03-04-2011, 06:27 AM
HIddenPanda's Avatar
HIddenPanda HIddenPanda is offline
I Am... Da Sheep
 
Join Date: Jul 2010
Posts: 52
Gender: Male
Credits: 5,458
HIddenPanda
Default

Quote:
Originally Posted by Hall of Famer View Post
Well to illustrate my point, lets take a look at a column in Vbulletin's database(this one from my pokemon forum):




Here the column 'buddylist' contains an array of userids in each member's buddylist, I have no idea how this can be done. I've been using PHP's arrays before, but not with sql integration.
It's really not as hard as one would think, I used arrays to store cards in my blackjack game :D

You simply use implode to join them for database insertion, and explode when you want to get them ready to use them :D
__________________
dasheep.tk