4
votes
Accepted
Follow up to Validation Script in PHP
First query looks good.
any more improvements
I don't understand why you're even asking the question.
What part of Sam's "use bound variables" answer was unclear?
We start out with ...
4
votes
Accepted
PHP Validation script
Use bound parameters in database queries
In the answer to your previous question by Your Common Sense was this advice:
in SQL, always use parameters instead of PHP variables for any database ...
2
votes
Accepted
SQL & PHP login method
Yes indeed, your approach is severely outdated. Such a code nowadays is frowned upon. Here are some rules for the better code
Each script should consist of four parts
Initialization. Usually it's ...
2
votes
Accepted
blog RESTFUL api with posts and comments
relation between post and comment
in my opinion the relation between comments post is a composition and therefor it should belong to the post.
...
1
vote
Accepted
PHP login codes suggestions
Nice to hear you got your code working. I will help you a bit with the validation script. These are the points of improvement:
Your input filtering is not doing anything because you haven't specified ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
mysql × 1110php × 586
sql × 321
performance × 155
pdo × 155
python × 82
database × 74
mysqli × 72
object-oriented × 65
c# × 64
java × 63
security × 63
beginner × 59
javascript × 44
html × 37
sql-injection × 27
join × 26
python-3.x × 25
node.js × 25
authentication × 24
php5 × 19
json × 18
ajax × 18
laravel × 16
jquery × 15