The voted_uid field needs to write the qualified user ID to this field. Is there any simple way to get 10001,10005, 10521,10242 after writing? My soil method is: {code ...} the framework is the thinkphp field voted_uid.
Is there the easiest way to write qualified user IDs into this field?
For example
My solution is:
1. Obtain the data of this field. 2. Check whether the id already exists. 3. If not, splice the original data with the current user ID. 4. update this field.
The framework is thinkphp.
Reply content:
Field voted_uid
Is there the easiest way to write qualified user IDs into this field?
For example
My solution is:
1. Obtain the data of this field. 2. Check whether the id already exists. 3. If not, splice the original data with the current user ID. 4. update this field.
The framework is thinkphp.
You cannot create another table.
Id voted_id voted_uid