• Hello,

    Is is possible to have multiple rows of meta data with each post? e.g

    – LOOK THIS IS THE MAIN POST
    —- id(1) | file_name(file.zip) | name(blah)
    —- id(2) | file_name(faasd.zip) | name(blah)
    —- id(3) | file_name(123123.zip) | name(blah)
    —- id(4) | file_name(234234.zip) | name(blah)

    Hope this makes sense.

Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    Yes you can. You can either store each data element under a unique key, or put your data into an array and store the array. You can even store multiple data elements under a single key, but extracting a particular item gets tricky.

    When you store an array it is automatically serialized before adding to the DB and then automatically unserailized when you get it back out.

Viewing 1 replies (of 1 total)

The topic ‘rows of data with each post’ is closed to new replies.