What do you want to save?
Add Code snippet
New code examples
-
Javascript 2022-01-23 08:41:05
ajax call to load a page on scrolling
$(document).ready(function(){ $(window).scroll(function(){ var position = $(window).scrollTop(); var bottom = $(document).height() - $(window).height(); if( position == bottom ){ var row = Number($('#row').val()); var allcount = Number(... Add solution -
PHP 2022-01-23 03:35:58
undefined index: tec_comm in c:\xampp\htdocs\fossee\user5.php on line 45
<?php require_once('../Connections/itemconn.php'); ?> <?php $id=$_GET['id']; $query=mysql_query("select * from manuf where id='$id' ")or die(mysql_error()); $row=mysql_fetch_array($query); ?> &... Add solution -
Javascript 2022-01-23 01:11:00
send json post ajax javascript
$.ajax({ url: 'users.php', dataType: 'json', type: 'post', contentType: 'application/json', data: JSON.stringify( { "first-name": $('#first-name').val(), "last-name": $('#last-name').val() } ), processData: fals... Add solution -
PHP 2022-01-22 16:05:40
loop php to scrap all items in a div
require('simple_html_dom.php'); // Website link to scrap $website = 'http://www.example.com'; // Create DOM from URL or file $html = file_get_html($website); // Find content of a div with class = 'xyz' $divData = $html->find('div[c... Add solution -
PHP 2022-01-22 08:31:23
php simple html dom get contact info
<?php include('simple_html_dom.php'); //to parse a webpage $html = file_get_html("http://nimishprabhu.com"); //to parse a file using relative location $html = file_get_html("index.html"); //to parse a file using absolute loc... Add solution -
PHP 2022-01-22 05:40:05
custom front page to whmcs
<!--?php use WHMCS\ClientArea; use WHMCS\Database\Capsule; define('CLIENTAREA', true); require __DIR__ . '/init.php'; $ca = new ClientArea(); $ca--->setPageTitle('Your Page Title Goes Here'); $ca->addToBreadCrumb('index.php', Lang::trans('g... Add solution