PHP Tutorial

PhpPot is a PHP code and tutorials blog passionately published by Vincy. PHP, jQuery, WordPress, MySql, Ajax are the main technologies in focus here. You can find code to make your web applications better. Code present here are simple and easy to use with suitable examples, demo and downloads. Welcome!

Recent Code and Tutorial

Display Text in Vertical Direction using CSS

July 4, 2016
In this tutorial, we are going to see how to display a text in the vertical orientation. We use CSS for displaying a floating text in the vertical direction. In this example, we are having a background image with a transparent vertical tagline to show a text. The floating vertical text will provide a rich […]
This tutorial is added to CSS code section.

Formatting Date With jQuery Date Picker

June 26, 2016
Using jQuery date picker we can format a selected date by using dateFormat option. In a previous post, we have seen how to use jQuery datepicker in a form to select a value for a date field. It popup a calendar widget to select a date. In this tutorial, we are going to see how […]
This tutorial is added to jQuery code section.

Dependent Auto Suggest with jQuery

June 14, 2016
Auto-suggest feature for a form field will reduce user’s effort while entering input data. In this post, we are going to see how to do auto suggest for a dropdown field depends upon the result of another dropdown. In a previous post, we have seen how to create dependent dropdown and dropdown with auto suggest, separately. […]
This tutorial is added to jQuery code section.

How to Become a Full Time Freelance PHP Developer and Consultant

June 3, 2016
When someone, simply affluent, could be smart enough in hiring you for the skills and imagination that he probably doesn’t possess, what stops you from being smart for your own good?  Perhaps you would have been waiting for a push. If yes, this is it. Having stuck in an insipid workplace with passion and creativity […]
This tutorial is added to PHP code section.

Responsive Menu with jQuery and CSS

June 2, 2016
Responsive design for our web page is used to make the page to be flexible for various screen sizes. Previously, we have seen about how to create responsive web page using CSS media queries. In this example, we have a header menu component. We are going to make it responsive for two different screen sizes. […]
This tutorial is added to jQuery code section.

Highlighting Keywords in Search Results with PHP

May 31, 2016
Highlighting keywords in search results will help a user to identify appropriate results easily. In a previous tutorial, we have seen advanced search in PHP. In this example, we are highlighting multiple keywords in search results. We are searching database title and description to check if the keyword has occurred. If match found we highlight those […]
This tutorial is added to PHP code section.

Advanced Search using PHP

May 30, 2016
In PHP advance search we have many options to filter MySQL data. Using these options we are creating database query condition to make an advanced search. In a previous tutorial, we have seen simple PHP search to filter MySQL records which have only one field to enter the search keyword. In the advanced search form, […]
This tutorial is added to PHP code section.

jQuery Fade Out Message after Form Submit

April 17, 2016
In this, tutorial we will see about how to code a message that fades out using jQuery. After jQuery AJAX form submits, we have to respond the user with a fade-in fade-out message. We have already seen the jQuery fading effects on the mouse over event of HTML image elements. We have an example with an […]
This tutorial is added to jQuery code section.

Change Theme using jQuery Split Button

April 4, 2016
In this post, we are going to see how to change theme color using jQuery. We have an example with a split button having two parts. One is for default theme and the other is to browse more themes. In this example, we have three themes Mercury, Sky, Gold and separate CSS files for these […]
This tutorial is added to jQuery code section.

Switch CSS Class Using jQuery

March 24, 2016
In this post, we are going to switch the CSS class using jQuery. In a previous post, we have seen how to switch CSS file based on the screen size to make page responsive. We have an example showing an image icon which is smaller on page load. And then we are switching the class […]
This tutorial is added to jQuery code section.

PHP Forgot Password Recover Code

March 23, 2016
In this post, we are going to see an example to learn how to recover the forgot password. In this example we have a forgot password form to get the username or email to recover the password. After form submits, we are sending password recovery email to the user. The Password recovery email has a […]
This tutorial is added to PHP code section.

PHP Login Script with Remember Me

March 23, 2016
In a login script, remember me feature is used to preserve the login name and password entered by the user. And it can be populated in the login form at the time of login. It minimizes the user effort by preventing to enter login details for each time. Some days before, we have seen PHP […]
This tutorial is added to PHP code section.

Switch CSS Based on Window Size using jQuery

March 17, 2016
Here we are going to see an example to switch CSS file dynamically based on the window size. In this example code, we are having two CSS files. One is for the web and the other is for the mobile viewport. We are having a jQuery function to switch CSS based on window size. This […]
This tutorial is added to jQuery code section.

Equal Height Columns with jQuery

March 16, 2016
In a multi-column template, the columns height is based on the content length. If the content lengths are varied then the columns will not be even and will not have a good look and feel. We can do this dynamically to equate the column heights. We have an example of a two-column template. These two […]
This tutorial is added to jQuery code section.

Prevent Form Double Submit using jQuery

March 9, 2016
In this tutorial, we will see how to avoid duplicate submit using jQuery. While submitting a form via an AJAX function, the page will not refresh. So, the user interface will not show any progress about the server side execution taking place. It will lead duplicate form to submit. To overcome this problem, we are […]
This tutorial is added to jQuery code section.

↑ Back to Top