One of the most popular features of any database driven site is probably a search functionality that allows visitors to search for information within the website. I have written a small article how to implement such a functionality using PHP/MySQL enhanced with Jquery. As you type in the search box , an asynchronous request will be made to query the database and displayed to the user .Below is a screenshot of the search system, an online demo of the application , and the download link for the full source code including the database sql .
Continue Reading
While making a search on twitter today, I have noticed that the website repeat the search after some seconds and notify the end user if there are more result since the last time he or she made the search. Actually, it’s pretty easy to achieve this same thing using jQuery. In this small tutorial, you will learn how to auto load only part of a page content via Ajax using jQuery after every 3 seconds. I will also add a Fade out/Fade in Effect to make it look nicer .
Continue Reading
by Hyder on April 1, 2010
in PHP
Have you ever registered on a website and you were required to activate your newly created account via a confirmation link sent to the email address you supplied while registering? This Email verification “Mechanism” is very common nowadays especially in forums, popular websites such as ebay, paypal, Facebook etc .Verifying Email Address helps to reduce spam and also to make sure that the email supplied belongs to that member.
Continue Reading
by Hyder on March 29, 2010
in PHP
By default, if display_errors is ON in your PHP.ini file, an error message with the filename, line number at which the error occurred and a message describing the error is sent to the browser Hoever. If your application is live ,you would probably want to disable this so as not to show any technical errors to your visitors. This will make your website look unprofessional and malicious users might take advantage of these error messages to find vulnerabilities in your application.
Continue Reading
by Hyder on March 26, 2010
in PHP
I was recently implementing an Ajax-based Record deletion system for my final year project using Jquery .This works similar to the wordpress method of articles/category deletion with a color animation before deleting the rows .Lately,Twitter has also implemented such functionality .In this article,I will fully demonstrate how to achieve this using PHP,Jquery and MySQL .
Continue Reading