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
-
ard19981846yI wouldnt call it an algorigh. But i would call it an good practice. (Altough i prefer a for loop over the while loop)
-
C0D4669026ySo much wrong, let me just go pull my eyes out and bash them against a wall for a while to rid this sight.
-
Wack61916yAt the very VERY least use a mysql real escape string around that filter!
Beter, use prepared statements. You can read about them here: https://phpdelusions.net/pdo -
This is why people make fun of php. Because somehow the language gets hit for the shit code that people write.
-
Well...
Let's start einging... Kumbayah my Lord...
*turns the flamethrower on*
Kumbayah...
Anyone Marshmallows? We Just need to wait a tiny bit...
*Adds some gasoline*
Seriously. Burn that shit.
Related Rants
Next generation JSON representation algorithm
rant
next generation
php
json
algorithm