Long/Annoying PHP functions to shorten

Ask about a PHP problem here.
Post Reply
JelvinJS7
Posts: 341
Joined: Thu May 12, 2011 8:40 pm

Long/Annoying PHP functions to shorten

Post by JelvinJS7 »

I program a fair bit on my iPod. So as you can probably guess, typing some php functions can be a real pain.
Well with the advent of iOS 5, I can use keyboard shortcuts to type the long and annoying functions faster, so I can say "mres" and it auto-corrects to "mysql_real_escape_string(".
I also have "htmlentities(" from "hme".

Well I have been doing little programming recently (blame parental controls/logs xD), so I'm having a minor brainfart. Plus I wanted to share my (*cough* genius) idea with everyone ;)
So are there any other common, lengthy, and annoying functions that I should set a shortcut for?
Not a major problem, but I like to make this easier for me. I'm a very lazy person domeyimes (I like to say "I'm a programer. It's in my blood to be lazy.")
So....yeah any recommendations?
User avatar
jacek
Site Admin
Posts: 3262
Joined: Thu May 05, 2011 1:45 pm
Location: UK
Contact:

Re: Long/Annoying PHP functions to shorten

Post by jacek »

mysql_real_escape_string is the only one that bothers me really, htmlentities because I type it wrong every single time ;)
Image
User avatar
EcazS
Posts: 789
Joined: Fri May 06, 2011 5:29 pm

Re: Long/Annoying PHP functions to shorten

Post by EcazS »

jacek wrote: htmlentities because I type it wrong every single time ;)

I think we're all aware of that :lol:
Just kidding ;)
Post Reply