PHP Login Script (Learning Purposes)

  • (2 Pages)
  • +
  • 1
  • 2

15 Replies - 5690 Views - Last Post: 21 September 2012 - 08:30 PM Rate Topic: -----

#16 CTphpnwb  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 2896
  • View blog
  • Posts: 10,031
  • Joined: 08-August 08

Re: PHP Login Script (Learning Purposes)

Posted 21 September 2012 - 08:30 PM

View PostAtli, on 21 September 2012 - 07:27 PM, said:

View PostCTphpnwb, on 21 September 2012 - 01:34 PM, said:

I think it would be easier to go from PDO/MySQLi to MySQL, and learning MySQL leads to bad habits (hence the need for prepared statements) so I'd say learn PDO/MySQLi first, and then deal with MySQL if you need to.

I don't necessarily disagree with you about that. My point was just that discouraging learning the MySQL API altogether is not a good thing.

True, but for many beginners the perceived extra work seems to make it a "one or the other" proposition. My feeling is that in that case, make it PDO or MySQLi because they're more secure and if you learn them and need to use/maintain MySQL you can easily learn it or better yet, upgrade it top prepared statements.
Was This Post Helpful? 1
  • +
  • -

  • (2 Pages)
  • +
  • 1
  • 2