Delete or modify entry in PHP
Hi, nice plugin. It works really good and does what I need. I have a problem. I want to create a short-code where it can delete an entry or modify an entry in the table with the user entered information. I don’t have the information of the mysql (username, password, etc.), and neither I want to ask for it. For now this is in my short code:
require_once(ABSPATH . ‘wp-content/plugins/contact-form-7-to-database-extension/CFDBFormIterator.php’);
$exp = new CFDBFormIterator();
$unit = $_POST[“fname”];
$formName = $atts[‘form’];
$userId = $atts[‘userId’];
$unit = $atts[‘unit’];
field_value= ‘%s’) AND
Sorry for my lack of PHP and MySQL, data bases is not my strong part of computer science.
- The topic ‘Delete or modify entry in PHP’ is closed to new replies.