DEV Community


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

jfstassen profile image

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 ?

anastasionico profile image
anastasionico Author

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