In addition to the enlarged if – else statement that you will use in most cases, there is also a short structure for an if – else statement. This format uses the so-called “ternary operator ‘. The syntax of this shorthand structure is as follows:
Daily Archives: October 7, 2011
PHP, how do you change the key of an array element?
I have an associative array in the form key => value where key is a numerical value, however it is not a sequential numerical value. The key is actually an ID number and the value is a count. This is fine for most instances, however I want a function that gets the human-readable name of the array …
Continue reading “PHP, how do you change the key of an array element?”
PHP greek characters sollution
if you have problems with greek character encoding use this functions.
JQUERY MOBILE TUTORIALS
jQuery Mobile: Touch-Optimized Web Framework for Smartphones & Tablets A unified user interface system across all popular mobile device platforms, built on the rock-solid jQuery and jQuery UI foundation. Its lightweight code is built with progressive enhancement, and has a flexible, easily themeable design.
PHP / Javascript: Cross-domain JSON request issues
I am trying to request JSON from Google Places API, but I am still getting the cross-domain request error after firstly including:
List of common media types
List of common media types IANA manages a registry of media types and character encodings. The organization makes a list available to the public through the Web. Some of the more notable media types used on the Web are listed below: