It doesn’t matter how slow you go – Motivational Quotes

It doesn't matter how slow you go - Motivational Quotes

It doesn’t matter how slow you go – Motivational Quotes It doesn’t matter how slow you go just as long as you dont stop Share this: Facebook Twitter Google Email LinkedIn Pinterest Pocket Share this:FacebookTwitterGoogleEmailLinkedInPinterestPocket

Read More
0
Share

jQuery – change form action based on selection

jQuery - change form action based on selection

jQuery – change form action based on selection Let’s consider that we have one form and depends on the selection of fields in the form we need to submit the form to two different urls. This can be done using jQuery. For example. You’re trying to change the form action based on the selected value from a dropdown menu, <form class="search-form" id="search-form" method="post" accept-charset="UTF-8" action="/search/user"> <select id="selectsearch" class="form-select" name="selectsearch"> <option value="people">Search people</option> <option value="node">Search content</option> </select> <label>Enter your keywords: </label>…

Read More
0
Share

How to load codeigniter libraries in sub folders

load codeigniter libraries in sub folders

How to load codeigniter libraries in sub folders In some cases, we need to put in some files in sub-folders inside libraries folder inorder to separate module based files. In this case lets see how we can load the files which are located in side the sub-folder of the main library folder. Library files can be stored in subdirectories within the main “libraries” folder, or within your personal application/libraries folder. To load a file located in a subdirectory, simply include…

Read More
0
Share

Check if array in jQuery

jQuery - change form action based on selection

Check if array in jQuery In jQuery to check whether the given variable is an array we can use the jQuery.isArray() function. $.isArray() returns a Boolean indicating whether the object is a JavaScript array (not an array-like object, such as a jQuery object). Example. if($.isArray([])) { echo “Array”; } else { echo “Not an array”; } Share this: Facebook Twitter Google Email LinkedIn Pinterest Pocket Share this:FacebookTwitterGoogleEmailLinkedInPinterestPocket

Read More
0
Share

Concatenate multiple strings with separator using MySQL

Concatenate multiple strings with separator using MySQL

Concatenate multiple strings with separator using MySQL To Concatenate multiple strings with separator in MySQL we can use MySQL CONCAT_WS() function. MySQL CONCAT_WS() function is used to join two or more strings with separator. The separator itself can be a string. If the separator is NULL the result is NULL. Syntax : CONCAT_WS (separator, string1, string2,…) Code : SELECT CONCAT_WS(',','1st string','2nd string'); Share this: Facebook Twitter Google Email LinkedIn Pinterest Pocket Share this:FacebookTwitterGoogleEmailLinkedInPinterestPocket

Read More
0
Share

How to show user information like IP address, useragent using PHP

show user information like IP address, useragent using PHP

How to show user information like IP address, useragent using PHP Nowadays we can see most of the sites sharing(showing) user information like “You are logged in from ip : 192.1468.1.2″. Also the browser which we are using and device. In this tutorial lets see how we can retrieve those information using php. Using php retrieving user information like this is pretty much easier than anyother programming. The php $_SERVER variable contains all these informations when a user access the…

Read More
0
Share