This gallery contains 1 photo.
If you want to sort the list by a certain order, such as a list of numbers from the beginning of 4,5,1, and then in ascending order, you can create a sort order by IF statement rule with additional columns … Continue reading
If locale is installed on the server then with PHP: For MySQL local date:
When a PHP script is executed for a long time and it is not clear what it is happening, such as a long loop, a prolonged processing, rainy weather, or other magical things. That is, the desire to see what … Continue reading
One line text does not always fit into a given width of the picture, then you need to word wrap the text to a new line, depending on the width. If only the width is less than one word, then … Continue reading
Using php strtotime function difference between dates: Another way to set date with mktime function: Before PHP 5.1.0 negative timestamps were not supported. Under any known version of Windows date could be from 1970 to 2038 years. And using MySQL … Continue reading
Back up your database regularly, and always before any upgrade. This query delete wordpress users (and they meta info) with no posts: This query select users with no posts: This query select users with no posts and no comments:
Previously was Google Language API for language detection but it is now paid. I found an alternative way to detect the language of text using Text_LanguageDetect pear package with 52 supported languages. Here is lithuanian text language detection example with … Continue reading
Just made two simple empty CodeIgniter 2.0.3 and Zend Framework 1.11.11 applications to compare time elapsed for script execution. CodeIgniter about 0.01s and Zend Framework about 0.07s. CodeIgniter Wins.
This android geolocation application uses PhoneGap api for phone geo position and displays the phone position point on Google Maps. jQuery Mobile is used to display the page header, footer and content map. Page is resized to full height and … Continue reading