Incorrect sorting with “order by”

Got some problems with sorting in wordpress again, posting a short solution. Does the response return rows in incorrect order, in the sense that letters like Å and Ä are counted as A and Ö counts as O, even though you specified an “order by” statement? The fault probably lies in the table’s collation.

Google plus share url

I saw on stack overflow today that you could make your own designed share button to Google + just as you can do to Twitter, Facebook and other social websites. That is, a url to Google where you can submit your url as a parameter for the client to be able to share it easily. […]

Hands on ZF2

Is about to set up a development environment for a project I have thought of for a long time now. My eyes have fallen on Zend Framework 2, which at this moment is in beta 3. I summarize in this post my views of the framework after a first glance.

Text with shadow

With some help of CSS 3, we can shadow text on the website. As usual, IE is not very generous. h1 { text-shadow: 1px /* y-axis */ 1px /* x-axis */ 1px /* blur */ #999; /* color */ } The values for blur and color is not necessary to specify.

Syntax highlighting with Prettify

If we want to present code on a webpage then we have some different tools that can help us by coloring the code according to the syntax. The options we have is basically one of two things, server or client-based. I have chosen to use a client based script because I don’t want to “pollute” […]