How to create array and insert record in mysql database using Codeigniter

I’ll share to you very basic tutorial with codeignter,here is inserting data toyou database.Oke make it simple,first of all you must create a table in your database obviously after create form and save create array and save data in database table. You may also like How to Add, Edit and Delete Records Using jQuery, Ajax, PHP […]

How to Read XML file Using PHP

XML is the acronym for Extensible Markup Language. SimpleXMLElement is an extension that allows us to easily manipulate and get XML data. SimpleXMLElement turns an XML document into a data structure you can iterate through like a collection of arrays and objects. You may also like How to Create Dynamic XML Sitemap in PHP and How to create […]

jQuery Events jquery

jQuery Events

Click() Events: $(‘li’).on(‘click’, function(event){ alert(“Hello World”); }); 2) Hover() Event: $(‘img’).on(‘hover’, function(event){ alert(“Hello World”); }); Document Loading ready() Event: $(document).ready(function(){ $(“button”).click(function(){ alert(“thanks for clicking”); }); }); Browser Events resize() Events: $(window).resize(function(){ alert(“Your Windows Resizing”); }); 2. Scroll() Events: $(“div”).scroll(function(){ alert(“scrolled”); }); Form Events blur() Event: $(“input”).blur(function(){ alert(“This input field has lost its focus.”); }); 2. […]

PHP asort() Function

The asort() function sorts an associative array in ascending order, according to the value. Tip: Use the arsort() function to sort an associative array in descending order, according to the value. Tip: Use the ksort() function to sort an associative array in ascending order, according to the key. Parameter Description array Required. Specifies the array to sort […]