Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
in Q2A Core by

I did write a number of questions in the .txt file about 500 question, to post its later to my website.

How I can add these questions once to the Table: qa_posts in the phpMyAdmin without post its one by one to the website

Thank you.
Q2A version: Lastest

1 Answer

+1 vote
It's not easy to do as the database format is quite complex. What I would do is make a CSV file in Excel/LibreOffice that follows the structure of the table ie the same 32 columns like postid, type, parentid, ...

Most of the columns can be left blank. But make sure that questions and answers are linked together correctly, so each answer has a parentid which is the postid of the question.

Save it to a CSV, then you should be able to import it into phpMyAdmin.