Viewing 0 reply threads
  • Author
    Posts
    • #8285
      dinesh
      Participant

      I created a front end form which as the following radio button
      <?php
      piklist(‘field’, array(
      ‘type’ => ‘select’
      ,’field’ => ‘gender’
      ,’value’=> ‘m’
      ,’label’ => ‘Gender’
      ,’list’=> false
      ,’required’ => ‘true’
      ,’choices’ => array(
      ‘m’ => ‘Male’
      ,’f’ => ‘Female’
      )

      ?>

      I want to insert the value of this radio button to my custom table named wp_mytable. How should I use the name of this radio button in _POST variable so that I can pass that to wp_mytable?

Viewing 0 reply threads
  • You must be logged in to reply to this topic.