[RSS Feed/News] Store an object or array in table.field

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
I get an object with ->fetch('team_id');
or
an array with ->fetchRaw('team_id');

the data will be 18 integers and i have no idea how to save them.

Which type of field should i choose, please, and why?
And what do i fetch (object/array) and how to prepare it?


Should i save only the ids and fetch the names later?
Or better save ids and names to have some queries less later?

1, green
2, red
3, blue
...

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom