php

Display the inserted data in wordpress custom template  #angularjs #reactjs

  • Stack Overflow works best with JavaScript enabled
  • sign up log in tour help
  • I created a custom template, where in I have a form and fields are inserted into the database(mySql).
  • check_ajax_referer(‘our-nonce’, ‘security’ ) ) { wp_send_json_error(‘security failed’); return; } //var_dump($data); $rname=$data[‘rname’]; $ractive=$data[‘ractive’]; $table_name = “rituals”; $wpdb->insert($table_name, array (‘Ritual_Name’ => $rname, ‘Ritual_Active’ => $ractive) ); //$wpdb->show_errors(); //$wpdb->print_error(); echo ‘From Submitted Successfully’; die(); } add_action(‘wp_ajax_nopriv_form_action_function’,’form_action_function’); add_action(‘wp_ajax_form_action_function’,’form_action_function’);
  • Now I require to display the data which are already inserted into the database in front end in form of a table or grid .

Hi I am developing a word press website. I created a custom template, where in I have a form and fields are inserted into the database(mySql). The Codes are shown below.Insert into database

@ng_real_ninja: Display the inserted data in wordpress custom template #angularjs #reactjs

Hi I am developing a word press website. I created a custom template, where in I have a form and fields are inserted into the database(mySql). The Codes are shown below.

Now I require to display the data which are already inserted into the database in front end in form of a

table

or

grid

A bit, a nibble or byte?

php