Posts

Showing posts from March, 2021

Get json data in a page

Image
     $. getJSON ( "demo_ajax_json.js" , function (result){     $. each (result, function (i, field){       $( "div" ). append (field + " " );     });   });

Local Storage in javascript

Image
  localStorage only supports strings. Use JSON.stringify() and JSON.parse() . var names = []; names[ 0 ] = prompt( "New member name?" ); localStorage .setItem( "names" , JSON .stringify(names)); //... var storedNames = JSON .parse( localStorage .getItem( "names" ));

Find Unique value from array by custome method

Image
  <?php $arr=array(1,1,1,2,1,1,1,1); $temp=""; $unique=""; $i=1; foreach($arr as $value){   if($temp!="" && $temp!=$value){       $unique=$value;       break;     }       $temp=$value;   $i++; } echo "Unique Value is ".$unique; ?>

Create json data and use it as dynamic data using jquery in Hindi | Codi...

Image

Laravel 8 Accessor and Mutator in Hindi | Laravel Tutorial

Image

custom library creation in codeigniter 4 in hindi

Image

codeigniter custom helper creation in hindi

Image

Codeigniter 4 Installation and and Setup | Hindi Expanation

Image