
Search In
PHP is one of the scripting language. In which session handling is one of the key thing mostly using in web application.
Suppose you build a website and allow to login everyone in website, You need to track user every step until they log out our sys
A filter is used to format the value of some expression when it is displayed to the user. It can be think as selecting the elements from an array in a particular format and returns a new array.
It can be used by the following ways:
In HTML Template
We can modify Liferay JSP, services, properties by using Hooks. One of the main use of Hook is we can implement our Custom Action.
So what is Custom Action?
When you see portal.properties in your liferay source code. You will see there multiple
If you want to save image from url, you have to merge the following code to you js file
First of all, we have to add the following plug-in to read, write and navigate file system.
Write this in your code:
cordova plugin add org.apache.cordova.file
We are going to process ajax request in wordpress shortcode on button click. First of all you need to add the shortcode in wordpress. Kindly write below code in function.php
<?php
function callback_listing($atts, $content = null)
{
extract(sh
Function in SQL
There are two type of function in sql
SQL aggregate function
1) AVG() - Returns the average value
SELECT AVG(column_name) FROM table_name
2) COUNT() - Returns the number of rows
SELECT COUNT(column_name) FROM table_name
SharedPrefrence help us to store private primitive app data in form of key value pairs, but the data is lost when you uninstall the application or you clear application data through settings.To use the SharedPrefrence in your android app follow the s
A view that moves from one activity to another in a smooth motion is possible with the help of Shared Element Transition. Its a type of animation when user clicks on certain view in one activity the view smoothly expands to the next activity. When us
JavaScript Arrays : Array is a like a container which contains the same type of objects or elements. Arrays has fixed length. We can access the array elements using the index value.The index of the array starts from 0.
Example of creating array in
PHP provide a lots of built in functions for manipulation of array. in_array is one of the useful built in function of PHP which is used to check whether a specified value exists in array or not. If the search value found in array the function return
