Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $output = '';
- if(!$_POST['txtNome'])
- {
- $output .= "do something in html";
- } else {
- $output .= "do something else in html";
- }
- global $wpdb;
- $wpdb->insert( mg_nomi, array('des_nome' => $_POST['txtNome']) );
- return $output;
Add Comment
Please, Sign In to add comment