How to prevent SQL injection in PHP?

While development of this website, I was concerned about how to prevent SQL injection in my PHP website. Off-courses, I already acquire enough knowledge to understand...