Please help.

I need to put on a demo of a php security flaw and how to fix it. Can anyone
point me in the direction of a good doc and fix example

Thanks