I'm sick and tired of typing mysql_real_escape_string()
due to its extreme length, Wondering if there is more long built-in function names out there?
I don't know of longer function names in PHP, but in .Net, you got
the GetTextEffectCharacterIndexFromTextSourceCharacterIndex
method of System.Windows.Media.TextFormatting.TextSource
.
But you could use an editor with code completion to keep you from typing. Or even better: use a wrapper class for your MySQL connectivity. This will save you from having to type long function names, reduces the risk of security issues (forgetting to call mysql_real_escape_string
or calling it incorrectly), and it will save you lots of migrating if you ever need to shift to another database or need to go using mysqli.
You can check them out here.
You could get an editor which supports auto-completion.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With