No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
3 Posted Topics
Your most serious issue here is that your function for cleaning user input isn't accomplishing anything as you're not calling it in a manner that requests or returns any value. This is the first thing you need to fix because you're wide open to an injection attack. [CODE] function protect($value) …
Rather than all this isNaN and parseInt usage (especially for testing that a string is valid alphabetic) you should utilize regular expressions. Regex is very powerful and will serve you well to begin learning how they work. Match exactly 6 numeric digits: [CODE] var string = "123456"; var regexp = …
First time posting here, signed up to respond to this thread as I'm working out a solution to this very same question. I have no idea how this post will look ;P So, the tables I'm using look something like this.. My User Accounts table (simplified): [CODE] CREATE TABLE `user_accounts` …
The End.
tcatt