What you want to do is insert the data in the database with the ' replaced with '' . This escapes the apostrophe and won't mess up the query.
بعض نتائج کو اس وجہ سے چھپا دیا گیا ہے کیونکہ ممکن ہے آپ کو ان تک رسائی حاصل نہ ہو۔
ناقابل رسائی نتائج دکھائیں۔