DEV Community

Discussion on: Good Practices: PHP Security, How to manage password

Collapse
 
jfstassen profile image
Jfsen

Hi. Pretty good read. I just don't understand why you declare $results and never uses it nor why you fetch all.
I think there is a typo at step 5: $query>fetch() -- missing dash ?

Collapse
 
anastasionico profile image
anastasionico

Hi Jfsen, Thank you so much for taking the time to comment on my post.
About the code snippets please consider them as pseudo-code, not to be copy-pasted into an actual application.
regarding the fetch() 's typo it was just google translate being funny before I posted it.
You can find an updated version of this post and the whole series on my website anastasionico.uk/blog/good-practic...