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 ?
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...
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
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 ?
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...