How to update a custom field?
Posted: June 1st, 2011, 2:08 am
Hi,
I want to update 2 custom fields.
One to check if user is login for the first time, then change the value to 0.
Second is the age, a cron job runs every midnight to update this field.
- I'm struggling to find a way to update a custom field. Can anyone shed a light please.
- And if I write a simple PHP script for the cron, will it work with this s2Member custom filed data structure? Should I use any special method for this.
Please help. Spent many hours on this already. Quick help much appreciated.
Cheers
Nad
I want to update 2 custom fields.
One to check if user is login for the first time, then change the value to 0.
Second is the age, a cron job runs every midnight to update this field.
- I'm struggling to find a way to update a custom field. Can anyone shed a light please.
- And if I write a simple PHP script for the cron, will it work with this s2Member custom filed data structure? Should I use any special method for this.
Please help. Spent many hours on this already. Quick help much appreciated.
Cheers
Nad