I have developed an application in PHP which I get questions from YQL DB , dump it to a .json file then read the file and upload the questions to QA DB.
I use "qa_question_create()" to insert questions into DB.Problem I am facing is: when I run the program in small interval of time, Same questions will be inserted into DB again and again.
How do I prevent multiple insert of same Question into qa DB, when running the PHP script in small intervals of time.