Finding unique array combinations with PHP (permutations)

Posted by on Jun 23, 2011 in PHP | 4 Comments

I was developing a website where people would place horse bets and the system should be able to calculate all the possible permutations based on the user selection. That means: finding all the possible combinations in a two dimensional array. I found a couple of functions but none of them would keep the array keys […]

How to add a Twitter Poll to your website

Posted by on Jun 17, 2011 in CSS, Social Networks | One Comment

Twitter is great and with it comes great ideas from everywhere. Today, I decided to try a new kind of poll that I really liked and will boost your Twitter mentions a lot. I am talking about Twitter Polls. If you don’t know what it is, keep reading, you will enjoy it.

How to add the Google +1 button to your website

Posted by on Jun 2, 2011 in Various | No Comments

Google started rolling the +1 button as an experimental version of Google Search. Today, the +1 button is available to everyone and this means that “you” as a webmaster can add the +1 button to your website and let people share on Google your content.

Twitter adds a one-stop ‘Follow’ button for websites

Posted by on Jun 1, 2011 in Social Networks | No Comments

Good news for us developers. Twitter added a new “Follow” button so people can one-click and follow you without leaving your website. It even pops a couple of tweets and some information about your profile!