🔥 Have a function that gets used in about 100 places that you need to behave slightly differently for some new code? Add an optional flag.
 
                                            I like the simplicity of the opening `echo`. So many would have gone for the overly complex `sprintf` when all you actually need is a string
Yeah I really believe in YAGNI. If we ever need to customize it it's easy to add another flag.
One thing that really bothers me is why is $emailsql taken from escaped $username 😬
We used to collect username and email but then switched to using the email as the username usually, so "username" is really the email.
'db_new_user_optimized2', must be twice as good as 'db_new_user_optimized'
Man, some of us are reading these before our first coffee & you're causing some serious mental anguish...
if( !$dont_escape === false) has to be the most eloquent way to write this if statement. Only takes 4 looks to figure it out 😂
United States Tendenze
- 1. Dolphins 19K posts
- 2. Ravens 31.5K posts
- 3. #911onABC 10.4K posts
- 4. Lamar 36.1K posts
- 5. Mark Andrews 2,236 posts
- 6. Ollie Gordon N/A
- 7. Athena 11.9K posts
- 8. Happy Halloween 97K posts
- 9. #TNFonPrime 1,647 posts
- 10. #PhinsUp 2,895 posts
- 11. Kyle Hamilton N/A
- 12. Tulane 7,446 posts
- 13. Georgetown 2,524 posts
- 14. #BALvsMIA N/A
- 15. UTSA 2,041 posts
- 16. #RHOC 1,192 posts
- 17. Henry 49.3K posts
- 18. Larry Borom N/A
- 19. Tahj Washington N/A
- 20. Phillips 489K posts
Something went wrong.
Something went wrong.
 
             
                 
                 
                 
                 
                 
                 
                 
                 
                 
                