This post defines two ultra simple recursive function to convert multidimensional Objects to Arrays and multidimensional Arrays to Objects.
NOTE: If this function is called as a class method, then the return line needs to be replaced with the following…
return array_map( array($this, __FUNCTION__), $d );
- Everything we want to track outputs html (so the GA code runs)
It can also be used in AJAX scripts and code that doesn’t actually display any html such as CSV export scripts.
Focal Point is a fascinating little framework that allows you to not only automatically resize your images when the viewport changes, but also crop the images with a specific important focal point in mind.
Every so often you have parts of your website that would be better off not indexed by search engines. API calls, search result pages, PDF documents — all examples of responses which may not have value outside of the current user. No we all know we can signal to the search engines not to index pages using a META tag, but oftentimes service calls and documents don’t get the luxury of a META tag. Luckily you can add a header to prevent these responses from being indexed.
CSS Button Generator will create beautiful css buttons for you to use on your web pages without the need for any images. When you have styled your button to your liking, simply click on the generated button to get your css style code.
Usually this is just a case of some data or white space being sent to the browser before the session_start command is run. However, this error also occurs if a file is saved using UTF-8 although it works fine when saved as ANSI.
FIX: If you need the UTF-8 encoding then it will need to be saved without Byte Order Mark (BOM). Most editors have an option to save as UTF-8 without BOM; this should get rid of the error.
This article shows you an easy-to-implement trick that enables even the least tech-savvy of clients to manage multi-column content layouts within the comfort of the WYSIWIG editor.