Category: PHP

Read More Link for WordPress Page

What is it about? To generate a Read More… link in WordPress post, you have to write <!–more–> (in HTML view of WordPress wysiwyg text editor) in place where you want to display the link as shown below: Now I want to point out that this technique will not work in wordpress pages. For example, you create a CMS website in WordPress

Read More »

Creating PDF Using PHP

What is it About? In this article you will learn how to create PDF documents using PHP on the fly. Creating PDF Documents using PHP Installing FPDF There are many PHP libraries available for creating PDF files but I am gonna use FPDF in this article. Click here to download the FPDF library.After downloading, extract all files and then copy fpdf.php

Read More »

Load More – Node.js Messaging Server (Part 3)

OCTNOVDEC14201520162017 29 captures11 Sep 2012 – 14 Nov 2016  About this capture iFadey RESUME CATEGORIES ▾ JAVASCRIPT HTML/CSS PHP DATABASE LINUX GENERAL INTERESTING STUFF Load More – Node.js Messaging Server (Part 3) September 6, 2012 Part 2 was introduction to Node.js and Socket.io. In this Part we will develop Twitter like functionality using Node.js and Socket.io to load new messages without

Read More »

Load More Using KnockoutJS, PHP/CodeIgniter (Part 1)

Everyone has used social networking sites and almost all of them implement Load More functionality to load additional posts/messages. Load More is actually alternate way of pagination. There are two kinds of Load More functionality. First is to load additional content when the user hits the scrollbar at the bottom of the page. Another kind is to load new content

Read More »

Get Flickr Images Using SimpleXML

What is it about? In this article you will learn two main things: How to parse XML using SimpleXML? How to get Flickr images from RSS feed and display them on your web page? Demo   Source What is SimpleXML? SimpleXML is a PHP extension used for XML parsing. It makes very easy to convert XML into a PHP object which can be

Read More »

CRUD using jQuery and Codeigniter – VI

Learning Objectives In this part you will learn how to perform clientside search, table sorting, limit records display at a time, and clientside pagination using jQuery. Previous Parts Part 1 Part 2 Part 3 Part 4 Part 5 Get Source Files Adding Table Header Many readers were asking how to add a header in the table containing records. To add

Read More »

CRUD using jQuery and Codeigniter – V

Learning Objectives In this part you will how to perform form validation using jQuery. Previous Parts Part 1 Part 2 Part 3 Part 4 Get Source Files Validation Plugin I will use jQuery Validation Plugin in this tutorial because it’s very mature, easier to use, and also available on Microsoft’s Ajax CDN. Click here to download the plugin. Then extract the zip file

Read More »

CRUD using jQuery and Codeigniter – IV

Learning Objectives In Part 4 you will learn: How to perform Ajax based CREATE operation. How to switch jQuery tab programmatically. Previous Parts Part 1 Part 2 Part 3 Get Source Files Modify Model Add following method in mUsers class. 1 2 3 4 5 6 7 8 public function create() { $data = array( ‘name’ => $this->input->post( ‘cName’, true

Read More »

CRUD using jQuery and Codeigniter – III

Learning Objectives In Part 3 you will learn: How to filter form values to prevent XSS attack. What jQuery serialize method do and how to use it. How to send Ajax call to perform UPDATE operation using POST method. How to use jQuery advance selectors to update table rows. Previous Parts Part 1 Part 2 Get Source Files Modify Model

Read More »

CRUD using jQuery and Codeigniter – II

Learning Objectives In Part 2, you will learn: Displaying Ajax loader animation when an Ajax call is made. How to inject Update/Delete link in each record using jQuery. How to use jQueryUI dialog widget. How to send Ajax request to perform DELETE operation. How and when to use jQuery’s delegate method to bind events. Previous Part of this Tutorial Part

Read More »