Establish MySQL database connection with JSP

Establish MySQL database connection with JSP

  •  
  •  
  •  
  •  
  •  
  •  

  Tweet    Making of dynamic website required a database. The database may be MySQL, Oracle, SQL etc., in my case it is MySQL. In this tutorial, I will explain to you how to establish MySQL database connection with JSP (Java Server Pages). We will use eclipse editor for doing so. Also, you need the mysql_connector.jar file which has to be […]

Read CSV file using PHP

Read CSV file using PHP

  •  
  •  
  •  
  •  
  •  
  •  

  Tweet    Read CSV file using PHP is very easy and simple. PHP has a built function fgetcsv(), through which we can read CSV file easily. So, in this tutorial, I will teach how to read CSV file using PHP. Friends, if you want to know how to write data into CSV file using PHP, please visit my […]

Write data into CSV file using PHP

Write data into CSV file using PHP

  •  
  •  
  •  
  •  
  •  
  •  

  Tweet    Sometimes we need to generate CSV file containing data from database table. So, in this tutorial, we are going to learn how to write data into CSV file using PHP. PHP has a default function fputcsv(), through which we can write data into CSV file. In this code, we will fetch data from MySQL table […]

Count words and characters using jQuery

Count words and characters using jQuery

  •  
  •  
  •  
  •  
  •  
  •  

  Tweet    A simple, word and character counter for HTML textarea and other input fields. The following simple useful HTML and jQuery code will let you help to count words and characters with and without white spaces of a string. In this tutorial hardly I used 20 lines of jQuery code which returns you the desired goal. […]

Live image preview before upload to the server using jQuery

Live image preview before upload to the server using jQuery

  •  
  •  
  •  
  •  
  •  
  •  

  Tweet    Sometimes it is required to verify the selected image before upload it to the server. So, in this tutorial, I will show you how to see live image preview before upload it using jQuery. HTML – live image preview <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”> <html xmlns=”http://www.w3.org/1999/xhtml”> <head> <meta http-equiv=”Content-Type” content=”text/html; charset=iso-8859-1″ /> <title></title> […]

AJAX Live Search is a search form where you get search results instantly while you type. Therefore it makes very easier for the users to find what they are looking for. In this tutorial I will demonstrate you Ajax live search using jQueyr Ajax and PHP.

Ajax live search using jQuery Ajax and PHP

  •  
  •  
  •  
  •  
  •  
  •  

  Tweet    Ajax live search is a search form where you get search results instantly while you type. Therefore it makes  very easier for the users to find what they are looking for. In this tutorial I will demonstrate you Ajax live search using jQueyr Ajax and PHP. Ajax live search – The HTML page <div class=”searchDiv”> <label>Keywords […]