Some questions about PDO, safety and correct syntax : <p>I apologize if this may be a ready-made topic, but I need an answer in detail. I would like to learn to program in PDO, but I have lots of bases being self-taught.</p>

<p>I have a few simple questions:</p>

<p>1) Program in PDO is equally satisfying to create your own scripts or is an old and unsafe method? Schedule in OOP when I get quite complex.</p>

<p>2) programming in PDO, what are the correct Prepared Statement to be written? Pass the data-bind?</p>

<p>3) As an example of security, this script for login and user registration using a library to encrypt your password, so it is quite safe against attacks? </p>

<p><a href="http://thisinterestsme.com/php-user-registration-form/" rel="nofollow">http://thisinterestsme.com/php-user-registration-form/</a></p>

<p>I repeat, I know that I would find some answers to my questions, but I need answers to my details, thanks.</p>
