Connect Bot I probably don’t need to sell any develpers on the advantages of being able to access your server while on the go. Once in a while you just have to. Programs like Astro, AndroZip, and ES File Explorer are ok for some things but what if you have...

More
  • 2010-06-24

Welcome to Cincinnati, where drivers literally move in front of you while you are on a clear path. They have no reason to move other than they like the appearance of the lane you are in. I have honked at people before to have them move out of the way....

More
  • 2010-06-23

A ternary operator is a quick shortcut to bypass the multi-line if-else statement. It is sufficient when simple setting a value of a variable based on a condition. It looks like this: That is saying “if $variable equals 10 then set $x equal to true, otherwise set $x equal to...

More
  • 2010-06-22

php.net – where I posted this Overview This is something that I used to use on this site before I went to WordPress. If you checked “view source” and looked at the meta keywords, you would notice a comma separated string. When programming, you may want to take a comma...

More
  • 2010-06-22
  • 3

Sometimes you have to add slashes to javascript text. PHP has it built in, javascript does not. Here is the code to put into your javascript to get the same functionality: function addslashes(str) {      str=str.replace(/\\\\/g,’\\\\\\\\’);      str=str.replace(/\\’/g,’\\\\\\”);      str=str.replace(/\\”/g,’\\\\”‘);      str=str.replace(/\\0/g,’\\\\0’);      return str; } function stripslashes(str) {     ...

More
  • 2010-06-19

I think someone should invent a little ice cube tray for the purpose of making half and half cubes. Simply poor liquid coffee creamer into the ice cube tray, freeze it, and you have frozen creamers. When it’s time for coffee just drop the cubes into your coffee. As they...

More
  • 2010-06-17
  • 1

mysqli is a built in part of mysql 4.1. It incorporates all functionality required to interact with a database from your PHP file. It has basics like querying the database, which includes SELECTing data as well as INSERTing data. It also give the ability to use prepared statements, transactions which...

More
  • 2010-06-15

So you’re embarking on a programming career, are you? Personally, I’ve been graduated for only 1 year but my experience is technically 2 years, no pun intended, thanks to my co-ops while in college. Before I get so far into my career that I forget my education process I figure...

More
  • 2010-06-15