How to add button header in Fullcalendar
Defines custom buttons that can be used in the header. Specify a hash of custom buttons. Then reference them from the header setting. Code
Defines custom buttons that can be used in the header. Specify a hash of custom buttons. Then reference them from the header setting. Code
The following is really easy way to subtract one Minute in current date and time using PHP. Using the date function to set the format of the date to be returned then using strtotime. PHP Code And if you like this tutorials please share it with your friends via Email or Social Media.
The usort() function is used to sort an array by its values using a user-defined comparison function. If the array you wish to sort needs to be sorted by some non-trivial criteria, you should use this function. TRUE on success. FALSE on failure Parameter Description array Required. Specifies the array to sort myfunction Optional. A […]
Sometime it’s necessary to display the Thumbnail Image of a youtube video from URL. So in this tutorial am going to example you how to get the thumbnail image of a video from youtube. Here am using PHP to obtain the output. HTML Code PHP Code
The array_multisort() function returns a sorted array. You can assign one or more arrays. The function sorts the first array, and the other arrays follow, then, if two or more values are the same, it sorts the next array, and so on. Note: Associative (string) keys will be maintained, but numeric keys will be re-indexed. […]
Here’s the follow-up article on how to easily get file sizes nicely formated. Below is a quick function that will display the file size in KB, MB, or GB all easily accessed through a function. Code
The following is really easy way to subtract hours in date and time using PHP. Using the date function to set the format of the date to be returned then using strtotime. The following source code will subtract 2 hours to current date and time. The following source code will subtract 2 hours to date and […]
This is a quick tutorial about displaying random image from folder in php. It will be useful if you want to include featured section area on websites. And all these images will come from a folder and rotated through at regular time interval. A random image will be picked up from the lot one at […]
We want to dynamically import these feeds into our document. Our server-side script of choice today will be PHP, and we’ll use some jQuery to create the tab structure. In this tutorial, I will show you a simple PHP script. PHP Code
Just today, I was looking at using a ternary operator in Laravel’s Blade templating system. However, instead of writing a ternary statement, Blade provides you with the following convenient short-cut: In this example, if the $string variable exists, its value will be displayed. However, if it does not exist, the word something will be displayed.