keithg

Slider load in bootstrap tabbing

make sure file exist : <link rel=”stylesheet” href=”//code.jquery.com/ui/1.11.0/themes/smoothness/jquery-ui.css”> <link rel=”stylesheet” href=”http://bxslider.com/lib/jquery.bxslider.css” type=”text/css” /> <script src=”//code.jquery.com/jquery-1.10.2.js”></script> <script src=”//code.jquery.com/ui/1.11.0/jquery-ui.js”></script> <script src=”http://bxslider.com/lib/jquery.bxslider.js”></script> script for load slider ADD IN ONLOAD $(function() { var slider2_initialized = false; var slider3_initialized = false; $( “#tabs” ).tabs({ activate: function( event, ui ) { //console.log(“ui = “);console.log(ui); var tab_id...Read more …
Ajit N

Counts all the values of an array

array_count_values() returns an array using the values of array as keys and their frequency in array as values. [crayon-59512ac3f3a71415404869/] For counting the values with case-insensitive matching [crayon-59512ac3f3a77189191108/] This prints: [crayon-59512ac3f3a7b580018612/]  Read more …
keithg

CONCAT Vs CONCAT_WS

MySQL supports two types of concatenation functions. They are CONCAT and CONCAT_WS CONCAT function just concats all the argument values as such SELECT CONCAT('Television','Mobile','Furniture'); The above code returns the following [crayon-59512ac3f3d17751599531/] If you want to concatenate them with a comma, either you need to specify the comma at the end...Read more …