Get the first and last day of the month in PHP
Another useful function to find the first and last day of the month from the given date in PHP
Read tutorialTHE TUTORIAL LIBRARY
Another useful function to find the first and last day of the month from the given date in PHP
Read tutorialHere is an useful code snippet that calculates the next working day in the US. This takes into account the US Federal holiday as well.
Read tutorialI found this little function very useful in fixing strings that are not in utf-8 but need be converted
Read tutorialI think this is a reasonable port of Perl's Encoding::FixLatin by Grant McLean, which converts a string with mixed encodings (ASCII, ISO-8859-1, CP1252, and UTF-8) to UTF-8.
Read tutorialI've been working on a is_utf8 function and wanted to post it here, in addition to others i also took in consideration the 5000 char bug:
Read tutorialThis sample android program shows you how to call an activity from another activity in Android. In this program the concept of Intent is demonstrated. Using Intent the control can
Read tutorialQuite often, you need to retrieve rows from a mysql table and display it on a PHP page. Every time, the number of columns and rows are different. So you can use this useful php cod
Read tutorialThis sample android program shows you how write and read a file from SD Card in Android. In this program four buttons are shown and a Edit box. When you type some text into the edi
Read tutorialThis sample android program shows you how read a file in Android. In this program an embedded file which is saved in your project under the res/drawable folder is opened and read i
Read tutorialThis sample android program shows you how to show Progress Bar in Android. In this program many concepts are explained. A button is shown and when clicked, a big file is downloaded
Read tutorialThis sample android program shows you how to use Date Picker and Time Picker in Android. In this program two buttons will be shown. When you click on the first button, the date pic
Read tutorialThis sample android program shows you how to use Gallery in Android. In this program a listof images is shown as a gallery. When you click on the list, the selected item index is s
Read tutorialOne example today. A better developer tomorrow.