I decided to have a look at the Google Webmaster Tools. I’ve setup accounts for jsphp.co and www.progclub.org. So far I’m not very impressed at all. Maybe it’s because the accounts are just new, but there is basically no data in any of my sites, so it’s not very useful at all. I guess it’s just wait and see if data ends up being loaded or not.
Today I used the PHP function krsort for the first time. It sorts the array with keys in reverse order, which is exactly what I needed to get my version listbox options in order from latest to earliest.
I found out how to do a Many-To-Many, Bidirectional mapping with Doctrine in PHP.
I found an article on !important which explains how !important works in CSS.
What do you do in PHP when you want to get the character at the specified index within the string? I’m not sure what the best way is, but the way that I’ve been using is with the substr function, passing in the index and a length of one.
Unit testing is fun! :)
I’ve been looking into how strings work in PHP. Basically if you use a single quote the string is literal and the only two quotes accepted are \\ for backslash and \’ for single quote.
If you use double quotes on the other hand then backslash is the quote character so you can do things like \n for new line or \t for tab. Also you can use variable names in double quotes strings. I still don’t totally understand things like magic quotes work though.