Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
That query will crash if there are semicolons in the filename. Or quotes. Better start using PDO
-
I'm not a php dev, but shouldn't queries go inside service instead of inside php web page? even though it is not returned with the result page
-
You could have figured it out in a matter of minutes, next time just copy paste sql in phpmyadmin or workbench
-
Are you sure that's a good way to execute the SQL query?? I feel can be SQL injection attack
Related Rants
Who has replaced a dot with a semicolon while composing a SQL query in php? Me. 😤😤😤😤😤
Two hours spent in fixing everything and a sleepless night.
undefined
sql
php
bug