Title: send data from form to phpmyadmin database
Last modified: August 31, 2016

---

# send data from form to phpmyadmin database

 *  [kholod](https://wordpress.org/support/users/kholod/)
 * (@kholod)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/send-data-from-form-to-phpmyadmin-database/)
 * hello everyone,
    I need help as soon as possible. This the first time I use WordPress.
   I make form use visual form builder. this form is for student to apply to my 
   website. i want the information which student enter send and save in phpmyadmin
   database. where can i put the code. in WordPress or another place. i tried to
   put this code : ‘<?php // if using a custom function, you need this; global $
   kholoud_wrdp1;
 * $first_name = ‘First Name’;
    $last_name = ‘Last Name’; $gender=’Gender’; $date_of_birth
   =’Date of Birth’; $martial=’Martial’; $street=’Street Address’; if(isset($_POST[“
   submit”])) $kholoud_wrdp1->insert( `Prospective_student`, array( ‘First Name’
   => $first_name, ‘Last Name’ => $last_name, ‘Gender’=> $gender, ‘Date of Birth’
   => $date_of_birth, ‘Martial’ => $martial, ‘Street Address’=> $street ),array(‘%
   s’,’%s’,’%s’,’%d’,’%s’,’%s’) );
 * ?>’
 * i put this code in page->text-> under [vfb id=2] in wordpress but it didn’t work.
   
   then i create new templet copy from page.php and add this code on it , then i
   chose this templet in form page but it didn’t work.
 * please help me in details.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [staartmees](https://wordpress.org/support/users/staartmees/)
 * (@staartmees)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/send-data-from-form-to-phpmyadmin-database/#post-7089721)
 * Use the plugin [Contact form DB](https://nl.wordpress.org/plugins/contact-form-7-to-database-extension/)
 *  [jon](https://wordpress.org/support/users/adiant/)
 * (@adiant)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/send-data-from-form-to-phpmyadmin-database/#post-7089724)
 * Or, if you want to continue to use Visual Form Builder, re-ask your question 
   in that plugin’s Support Forum: [https://wordpress.org/support/plugin/visual-form-builder](https://wordpress.org/support/plugin/visual-form-builder)

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘send data from form to phpmyadmin database’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 3 participants
 * Last reply from: [jon](https://wordpress.org/support/users/adiant/)
 * Last activity: [10 years, 3 months ago](https://wordpress.org/support/topic/send-data-from-form-to-phpmyadmin-database/#post-7089724)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
