How can I populate a custom field from the DB?

  • Posts: 10
  • Thank you received: 0
11 years 2 months ago #160471

I need to populate a custom field in the item table from a MySQL query.

What's the best way to do this?

Thanks in advance for your help.

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
11 years 2 months ago #160524

Hi,

At which time do you want to populate the custom field ?
And what kind of custom field ?

The solution, will be to edit the view displaying the custom field, make a request and fill the field value in php directly.
But I don't really understand your needs actually, because you can potentially the default value option to fill the custom fields by default.

Please Log in or Create an account to join the conversation.

Time to create page: 0.063 seconds
Powered by Kunena Forum