The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

[resolved] Moving data from the_content() to postmeta (1 post)

  1. Burke Ingraffia
    Posted 5 years ago #

    This is more of a MySQL question, and I apologize if this is not the right forum, but here's what I need help doing:

    Take a variable string that appears in many (but not all) of the posts:

    e.g. flv="http://mysite.com/filename.flv"

    extracting just the filename.flv part

    placing it into a row in the postmeta table that includes a meta id, post id, a custom field name, and the filename. This would cover the four columns in postmeta:

    meta_id post_id meta_key meta_value

Topic Closed

This topic has been closed to new replies.

About this Topic