Insert data to the database from a form
I currently know how to insert data into the database, using PHP MySQL. However, when I try to do it with $wpdb class, I just do not know how to go about it. What I am looking for, is an example code where it shows the form data and then the code necessary to implement that data into the database table. In my particular case I am using a form where I have:
That data, when is captured, I want to take it to my database table, named clients, using code $wpdb. I would truly appreciate an answer to this, hopefully giving example code.
Thank you very much,
Ricardo Cerda de Groote
- The topic ‘Insert data to the database from a form’ is closed to new replies.