Find the best tutors and institutes for WordPress

Find Best WordPress Training

Please select a Category.

Please select a Locality.

No matching category found.

No matching Locality found.

Outside India?

Search for topics

Hi how to insert the data in database by using WordPress?

Asked by Last Modified  

IT Courses/WordPress

Follow 11

9 Answers

Please enter your answer

Learn Professional Web Designing, Graphic Design, Wordpress

<?php require_once('/wp-config.php'); global $wpdb; if(isset($_POST)){ $wpdb->insert( 'wp_post_job', array( 'organizationname' => $_POST, 'post' => $_POST, 'publishfrom' => $_POST, 'publishupto' => $_POST, 'qualification1' => $_POST,... read more
    global $wpdb;

        $wpdb->insert( 'wp_post_job', array( 'organizationname' =>
        $_POST['organizationname'], 'post' => $_POST['post'], 'publishfrom' =>
        $_POST['publishfrom'], 'publishupto' => $_POST['publishupto'],
        'qualification1' => $_POST['qualification1'], 'qualification2' =>
        $_POST['qualification2'], 'qualification3' => $_POST['qualification3'],
       'qualification4' => $_POST['qualification4'], 'experience1' =>
        $_POST['experience1'], 'experience2' => $_POST['experience2'],
       'experience3' => $_POST['experience3'], 'training1' => $_POST['training1'], 'training2' => $_POST['training2'], 'training3' => $_POST['training3'],
       'training4' => $_POST['training4'], 'training5' => $_POST['training5'] ),
        array( '$s', '$s', '$s', '$s', '$s', '$s', '$s', '$s', '$s', '$s', '$s', '$s', '$s', '$s', '$s', '$s' ) );

Template Name: Form
<?php global $pc_theme_object; /* Reference theme framework class */ ?>
<?php get_header(); ?>

<form action="" id="postjob" method="post">
            <td><label for="organizationname">Organization Name:</label></td>
            <td><input type="text" name="organizationname" id="organizationname" value="/></td>
            <td><label for="post">Post:</label></td>
            <td><input type="text" name="post" id="post" value="" /></td>
            <td><label for="publishfrom">Publish From:</label></td>
            <td><input type="text" name="publishfrom" id="publishfrom" /></td>
            <td><label for="publishupto">Publish Upto:</label></td>
            <td><input type="text" name="publishupto" id="publishupto" /></td>
            <td><label for="qualification">Qualification:</label></td>
            <td><input type="text" name="qualification1" id="qualification1" /></td>
            <td><input type="text" name="qualification2" id="qualification2" /></td>
            <td><input type="text" name="qualification3" id="qualification3" /></td>
            <td><input type="text" name="qualification4" id="qualification4" /></td>
            <td><label for="experience">Experience:</label></td>
            <td><input type="text" name="experience1" id="experience1"/></td>
            <td><input type="text" name="experience2" id="experience2"/></td>
            <td><input type="text" name="experience3" id="experience3"/></td>
            <td><label for="training">Training:</label></td>
            <td><input type="text" name="training1" id="training1" />></td>
            <td><input type="text" name="training2" id="training2" /></td>
            <td><input type="text" name="training3" id="training3" /></td>
            <td><input type="text" name="training4" id="training4" /></td>
            <td><input type="text" name="training5" id="training5" /></td>
            <td><button type="submit" name="submit">Submit</button></td>

<?php get_footer(); ?>
read less

Through Cpanel.

Web Developer

Go to your cpanel then find phpmyadmin in search bar. After that click the phpmyadmin after that click your database (you can find your database name in your wp-config file). Now you can insert the data.

Adobe Certified , Microsoft Certified Trainer with 9 years of experience

You need to follow the dashboard instructions for example when you will create a new post what ever content you put, it all automatically goes to the database of the wordpress.


Unless you are a custom plugin developer, you don't insert data directly in database. You use WordPress dashboard.Yoursite.com/login.

Digital Marketing Strategist | Website Developer Professional | Google Adwords Certified | Blogger |Trainer

Go to cpanel, click on database tab under that click on my SQL, there you will find the tabs of Tables and Databases, click on the database and insert the data.

Under the cpanel you have to click on database tab under this tab click on MySQL, there you will find the tabs of Tables and Databases, click on the database and then insert the data.

using some sql queries and "insert "


using wp_db query

View 7 more Answers

Related Lessons

How to adjust the orders of the posts in word press ??
This topic covers about, how to order the word press posts ?? You created one website, there you inserted some posts in your website, you posted many postes at word press posts, if you want to change...

Mohanvej | 26/04/2020

1 0

What is M.S.Project ?
MICROSOFT PROJECT contains project work and project groups, schedules and finances.Microsoft Project permits its users to line realistic goals for project groups and customers by making schedules, distributing...

Recommended Articles

Business Process outsourcing (BPO) services can be considered as a kind of outsourcing which involves subletting of specific functions associated with any business to a third party service provider. BPO is usually administered as a cost-saving procedure for functions which an organization needs but does not rely upon to...

Read full article >

Almost all of us, inside the pocket, bag or on the table have a mobile phone, out of which 90% of us have a smartphone. The technology is advancing rapidly. When it comes to mobile phones, people today want much more than just making phone calls and playing games on the go. People now want instant access to all their business...

Read full article >

Information technology consultancy or Information technology consulting is a specialized field in which one can set their focus on providing advisory services to business firms on finding ways to use innovations in information technology to further their business and meet the objectives of the business. Not only does...

Read full article >

Whether it was the Internet Era of 90s or the Big Data Era of today, Information Technology (IT) has given birth to several lucrative career options for many. Though there will not be a significant" increase in demand for IT professionals in 2014 as compared to 2013, a steady demand for IT professionals is rest assured...

Read full article >

Looking for WordPress Training?

Find best WordPress Training in your locality on UrbanPro.

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you

Looking for WordPress Classes?

Find best tutors for WordPress Classes by posting a requirement.

  • Post a learning requirement
  • Get customized responses
  • Compare and select the best

Looking for WordPress Classes?

Find best WordPress Classes in your locality on UrbanPro

Post your learning requirement

UrbanPro.com is India's largest network of most trusted tutors and institutes. Over 55 lakh students rely on UrbanPro.com, to fulfill their learning requirements across 1,000+ categories. Using UrbanPro.com, parents, and students can compare multiple Tutors and Institutes and choose the one that best suits their requirements. More than 7.5 lakh verified Tutors and Institutes are helping millions of students every day and growing their tutoring business on UrbanPro.com. Whether you are looking for a tutor to learn mathematics, a German language trainer to brush up your German language skills or an institute to upgrade your IT skills, we have got the best selection of Tutors and Training Institutes for you. Read more