Title: save data in DB (PRO)
Last modified: April 19, 2018

---

# save data in DB (PRO)

 *  Resolved [amila](https://wordpress.org/support/users/flatworld21/)
 * (@flatworld21)
 * [8 years ago](https://wordpress.org/support/topic/save-data-in-db-pro/)
 * If I add a radio field as Gender with value Male and Female, Male or Female will
   be inserted into wp_usermeta.
 *     ```
           [user_gender] => Array
               (
                   [0] => Female
               )
       ```
   
 * Is it possible to insert 1 or 2? And 1 means Male, 2 means Female. Like this
 *     ```
           [user_gender] => Array
               (
                   [0] => 2
               )
       ```
   
 * As checkbox with Yes or No, it saves like
 *     ```
       Array
               (
                   [0] => a:1:{i:0;s:3:"Yes";}
               )
       ```
   
 * Is it possible to save just like
 *     ```
       Array
               (
                   [0] => 0
               )
       ```
   
 * or
 *     ```
       Array
               (
                   [0] => 1
               )
       ```
   
 *  [0] => 0 means Yes, and [0] => 1 means No.
 * I need to do this because I have to make a user search page.

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

 *  Plugin Author [Georgian Cocora](https://wordpress.org/support/users/raster02/)
 * (@raster02)
 * [8 years ago](https://wordpress.org/support/topic/save-data-in-db-pro/#post-10185767)
 * Hello [@flatworld21](https://wordpress.org/support/users/flatworld21/),
 * You are using the Pro version so please direct further questions to our ticketing
   system as we are not allowed to offer support on these forums for that version.
   You can open a ticket here: [https://www.cozmoslabs.com/support/open-ticket/](https://www.cozmoslabs.com/support/open-ticket/)
 * When you define a Radio field (or Checkbox or Select) you are asked to enter `
   Options` and `Labels`. What you enter in the `Options` input will be saved in
   your Database and what you enter in the `Labels` input will be shown to the user.
 * As an example, considering you have a Radio field with `1,2,3` as options and`
   a,b,c` as labels and the user selects the second option, `b`, in the database
   will be saved just `2`.
 * Regards.
    -  This reply was modified 8 years ago by [Georgian Cocora](https://wordpress.org/support/users/raster02/).
 *  Moderator [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * (@jdembowski)
 * Forum Moderator and Brute Squad
 * [8 years ago](https://wordpress.org/support/topic/save-data-in-db-pro/#post-10197870)
 * > in DB (PRO)
 * For pro or commercial product support please contact the author directly on their
   site. This includes any pre-sales topics as well.
 * As the author is aware, commercial products are [not supported in these forums](https://wordpress.org/support/guidelines/#do-not-post-about-commercial-products).
   I am sure they will have no problem supporting you there.

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

The topic ‘save data in DB (PRO)’ is closed to new replies.

 * ![](https://ps.w.org/profile-builder/assets/icon-256x256.png?rev=2961144)
 * [User Profile Builder - Beautiful User Registration Forms, User Profiles & User Role Editor](https://wordpress.org/plugins/profile-builder/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/profile-builder/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/profile-builder/)
 * [Active Topics](https://wordpress.org/support/plugin/profile-builder/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/profile-builder/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/profile-builder/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * Last activity: [8 years ago](https://wordpress.org/support/topic/save-data-in-db-pro/#post-10197870)
 * Status: resolved