Support » Fixing WordPress » Is it bad to add data to a custom table via phpmyadmin?

  • 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?

Viewing 1 replies (of 1 total)
  • 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.

Viewing 1 replies (of 1 total)
  • The topic ‘Is it bad to add data to a custom table via phpmyadmin?’ is closed to new replies.