Forums

[resolved] Using form to modify database table? (2 posts)

  1. beernews
    Member
    Posted 1 month ago #

    I am trying to write my first plugin that allows a user to modify a database table through submitting the form. The form executes but nothing gets changed in the table.

    Do I need to write a current_user_can function? (I don't get an error on this line though).

    Is there another way to enable any user to modify the db?

    Here is the relevant code (lines 8-47):

    http://pastie.org/private/tsv83t87cowmqp33mkow

    Note that I am using Otto's method from 1 year ago. He says that form action="" is fine.

    http://wordpress.org/support/topic/208212

    The testing form and table are located at http://beerlyrics.com/jimmy-jones/

  2. beernews
    Member
    Posted 1 month ago #

Reply

You must log in to post.

About this Topic