ENXF NET
Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
- Joined
- Nov 13, 2018
- Messages
- 24,718
- Points
- 823
Reputation:
I want to save some integer values for posts. Here are some ideas on how to do it:
1. one, five or ten new fields for xf_post
to have a sum from post_values for threads, i can do: select sum of fields one, two, three for thread x.
Huh! With one field I am happy, but not with ten new fields.
2. I add a new table with a table_id; in this table, i save my values, in post, i save the table_id
Here it is easy to make sums, but to show anything, I need one query per post; not acceptable for...
Read more
Continue reading...
1. one, five or ten new fields for xf_post
to have a sum from post_values for threads, i can do: select sum of fields one, two, three for thread x.
Huh! With one field I am happy, but not with ten new fields.
2. I add a new table with a table_id; in this table, i save my values, in post, i save the table_id
Here it is easy to make sums, but to show anything, I need one query per post; not acceptable for...
Read more
Continue reading...