简体   繁体   中英

How to integrate a custom form and add/edit/delete on wordpress

i want to create a custom form with some fields that i could add/edit/delete on database

how integrate my form with wordpress?

do you know a website ,that have a tutorial about this process ?

thanks

There are plugins that allow you to create custom forms ( cformsII ), and with some additional PHP knowledge you can retrieve the data using their API. I found this tutorial that quickly goes through installing, configuring and retrieving data from this plugin. That same page also listed some additional forms plugins that are worth looking at.

Another option is to do this using HTML and PHP without the use of a plugin. The following link will give you some insight in how to start and some code that can get you started:

http://www.paulmc.org/whatithink/2009/02/05/using-wordpress-templates-to-create-forms/

Note: There is a plugin called Formidable but only the Pro version allows you to easily retrieve the data from the database.

This is a really involved question, so it shouldn't be asked here.

PS Not specific to WordPress but http://teamtutorials.com/web-development-tutorials/php-tutorials/inserting-data-into-a-mysql-database-using-php

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM