I\'m learning PHP and would like to ask which of these two different approaches is better in terms of SQL server security? Let\'s say it will be used for a login form.