This is pretty old, but As of PHP5. Beginners be aware that:
1 - The $value in the protect function will only exist in the block, so calling the protect function to clean the sql query will do nothing unless you plan to do the query in the block itself.
Didn't watch whole thing, but at least up to here I can update you guys that much xD. Enjoy php/mysql
I for one found BOTH version useful.
At least the guy is trying to help people by making a video and sharing what he's learned.
I don't reacall him saying he was a professional.
Like he said, if you can do better, get on camtasia and do so or else stop pointing out stupid things like how he pronounces SQL.
Tsk Tsk.. some people are so useless and petty.
Good on ya matey, thanks for the video.
Small mistake you made there, good tutorial but i made this mistake aswell once. You are using && instead of ||, what this means is that when someone fills in one field it will just insert it into your database and having blank fields and stuff.
The link to the source code and well everything on the neoblob/phpsquad link is missing. Nice tutorial though and the other simpler version was good to do because for beginners at least it's a bit easier to get your head around it all.