WordPress.org

Ready to get started?Download WordPress

Forums

Is it bad to add data to a custom table via phpmyadmin? (2 posts)

  1. weex
    Member
    Posted 3 years ago #

    I'm writing a shortcode function that will pull pieces of data from a custom table and format it into displayable html inside a post.

    I want to be able to pull the data in different ways multiple times so writing a shortcode function to do the "retrieval" is fine. And i know to use $wpdb for this and got that all down. no problems there.

    In terms of the data itself, Can I just add it manually using phpmyadmin or any other client? Do I need add data to the custom table in any special way? Is this unsafe in terms of integrity etc?

  2. Matthew Denton
    Member
    Posted 3 years ago #

    If this is not a plugin you plan to distribute and simply something you are creating for yourself, then managing through phpmyadmin is fine. I would suggest simply keeping a backup on hand of the database in case you accidentally corrupt the table.

Topic Closed

This topic has been closed to new replies.

About this Topic