PHP Code Blog

Phppot is a PHP code and tutorials blog, passionately published by Vincy. It is the industry's top PHP Blog, with millions views to its credit. You can find code to make your web applications better. Welcome!

New on Blog

How to Add Image in WordPress Sidebar

In a WordPress theme layout, the sidebar will show several components like search, archives and more. The presence and positioning of these components could be built by the administrator. We can add more components to the sidebar by doing theme level changes. Let us the ways of adding an image to the WordPress sidebar. Why sidebar?… Read More »

November 15, 2018

Shopping Cart Special

Simple PHP Shopping Cart

PHP Shopping Cart with PayPal Payment Gateway Integration

PHP Shopping Cart by jQuery Drag and Drop

Shopping Cart Product Quick Look like Amazon

How to Build a Persistent Shopping Cart in PHP

Responsive PHP Shopping Cart

Recent Articles
  • How to Create Multiple Thumbnails While Uploading Image

    Generally, thumbnails are created to reduce the image dimensions and size. Creating thumbnails for the uploaded images is the good practice. By using thumbnails instead of the original image, it will help to contain them into the application layout. Also, the thumbnail image loading time will be optimistically lesser. In this article, we are going […]

  • Shopping Cart Software Product Quick View with Bootstrap Tooltip

    Want to add a Quick look option in the product gallery of your shopping cart software? A working example is added for product quick look from the gallery.

  • Database Data Export to Excel File using PHP

    Many database clients like PhpMyAdmin, SQLYog contain the export option to extract the data or structure into a file. Implementing database data export in PHP is very simple. Previously, we have seen more examples in PHP for database import and export. The database data can be exported into various file format like CSV, Excel, SQL. […]

  • How to Integrate PayPal Checkout in eCommerce Website

    In this tutorial, we are going to see how to integrate PayPal Checkout in a PHP based eCommerce website. PayPal Checkout method has several advantages compared to the PayPal Standard payment gateway method. If you want to see the PayPal Standard method of integrating payment gateway in PHP the linked article is an excellent guide. Note: Previously PayPal […]

  • Set Featured Image for WordPress Post or Page

    In this article, we shall learn how to set featured image for a WordPress post or page for branding. The featured images are used to reflect the summary or categorization of the post or page. Mainly, the usage of the featured images is varied based on the theme and the blog content. Featured images can […]

  • How to Limit Login Attempts in WordPress

    In this tutorial, we are going to see how to limit login attempts in WordPress. By limiting the number of invalid login attempts, we can protect a site from the brute force attack. There are no shortages of malicious users online and no doubt we must protect our live site from hacking. So it is vital to take […]

  • Export DataTables Data using PHP and MySQL

    The DataTables is a feature-packed library that allows us to search, sort, paginate and export DataTables data. Also, it provides a rich tabular interface with intuitive elements to give control over the data management process. In a previous tutorial, we have seen how to use DataTables library data to display a rich looking responsive DataTables. Also, we […]

  • How to Force Logout All Users from WordPress Site

    In a multi-user WordPress site, some scenarios make the administrator to Force log out all users. This bulk action will clear the logged in session and cookies and let the WordPress user re-login to the site. But, there are some scenarios in which we need our WordPress users to log out and log in back […]

  • How to Show PHP Sticky Contact Form using CSS

    To provide an easier way for your users to reach you the PHP sticky contact form will be useful. By making an element sticky in a web page,  it will be made fixed in a specified position and visible even on page scroll. Generally, the sticky component of a website will show the content that […]