What do you want to save?
Add Code snippet
New code examples
-
Javascript 2022-03-27 20:15:07
bootstrap validator password and confirm password
//Declarative Usage <form id="identicalForm" class="form-horizontal" data-bv-feedbackicons-valid="glyphicon glyphicon-ok" data-bv-feedbackicons-invalid="glyphicon glyphicon-remove" data-bv-feedbackico... Add solution -
-
Html 2022-03-27 19:55:09
show image inside table with innerhtml
var array = cvpls(); var table = ``; for (var i = 0; i < array.length; i++) { table += `<tr>`; for (var j = 0; j < array[i].length; j++) { if (i === 1 && j === 2) { table += `<td><img src='http://imgh.us/statik.g... Add solution -
PHP 2022-03-27 19:50:05
mongodb uploading csv php
<?php $mongo = new Mongo("mongodb://192.168.1.7:27017"); $collection = $mongo->test->cartoons; $row = 1; $handle = fopen(dirname(Yii::app()->request->scriptFile).'/images/importcsv/upload.csv', "r"); while (($data... Add solution -
PHP 2022-03-27 19:50:03
replace all occurrences of a string in javascript
const p = 'The quick brown fox jumps over the lazy dog. If the dog reacted, was it really lazy?'; console.log(p.replaceAll('dog', 'monkey')); // expected output: "The quick brown fox jumps over the lazy monkey. If the monkey reacted, was it really l... Add solution