WordPress.org

Forums

Edit Any Table
[resolved] Edit entries after a search (no "save" and "delete" button) (4 posts)

  1. kseni14
    Member
    Posted 12 months ago #

    I'm new here, so maybe what I'm going to ask is rather silly, but...how to you edit the entries from a table after a search? I mean, I've configured the database, introduced the correct information (the name of the tables display in the widged) but when I search in tables *I* created, it returns the results but there is no "save" or "delete" button at the bottom (as it is showed in the screen captures); so actually I can only use it to look at the already created DB entries or create a new one, but cannot modify. Which was all the point because MyPHPadmin still confuses me and I wanted to find another way to work with existing tables and entries.

    The strange thing, is that the button appears when I open one of the WordPress created tables (for instantance, wp_users) so I can modify those. At the beggining I thought it was because of the type, but I changed them to VARCHAR (string) and still nothing.

    Any help would be really appreciated!

    https://wordpress.org/plugins/edit-any-table/

  2. redeyedmonster
    Member
    Plugin Author

    Posted 12 months ago #

    The reason for this is that you have not created a primary key on your table. A primary key is required to identify the record you are editing or deleting thus the buttons are hidden when one is not present.

  3. kseni14
    Member
    Posted 12 months ago #

    Solved!! Thank you very much :D I never used MySql before, so it's still all new to me.

  4. redeyedmonster
    Member
    Plugin Author

    Posted 12 months ago #

    No problem, feel free to write a review :)

Reply

You must log in to post.

About this Plugin

  • Edit Any Table
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic