Online Poll and Voting System with PHP and MySQL


Online survey or poll is mostly used on the web today, and there are many services are available which provides a built-in poll system. But if you want to create your own poll and voting system, this tutorial will help you a lot. This tutorial will explore how to build a simple poll script in PHP with MySQL.

Read Full →

Registration and Login System with PHP and MySQL


Login system is a key feature for every membership website. Registration and login system implementation is very easy with PHP. In this tutorial, we'll show you how to build a simple login system with PHP and MySQL. Our PHP script will demonstrate the user registration and login system with MySQL and PHP Session. Also, PHP server side validation is used on login and registration to validate user data.

Read Full →

How to Import CSV File Data into MySQL Database using PHP


A CSV file stores the tabular data in plain text format. Each line of the CSV file is a data record that consists of one or more fields. Using CSV file you can store all the data and import the CSV file data into the database at once using PHP and MySQL. Import CSV into MySQL helps to save the user time and avoid repetitive work. Here we'll build an example script to import members data into the database.

Read Full →

Creating a Simple Contact Form with PHP


The Contact Form is an essential element for almost every website. The thought of a contact form is very simple, the user is able to send their query via email to the respective organization. This tutorial will show you how to create a simple contact form with PHP and integrate it into your website. Using our PHP contact form script you'll be able to add a contact us form to your website within 5 minutes.

Read Full →

Some PHP Hacks Every Programmer Should Know


A lot of things are there which you should follow when working with PHP. In this article, we'll discuss some important PHP hacks among them which every programmer should know about. These PHP tips will help you to write a more structured PHP script in less time. You should always use the mentioned PHP hacks while coding in PHP.

Read Full →

How to Create Time Range Array in PHP


If you want to provide a time picker dropdown for selecting time, then there are many options to do that. You can use jQuery plugins to provide a time picker to the user or generate a custom time picker dropdown with PHP. If you are concern about the web page load time, then it will be better to use custom time range dropdown for selecting time. Using PHP you can easily create a time range array that helps you to generate time picker drop-down HTML.

Read Full →

Simple PHP Shopping Cart using Sessions


A shopping cart is an important part of every eCommerce project. It helps the user to select multiple items for purchase and view total price before submitting the order. If you want to build a simple PHP shopping cart from scratch, this step-by-step tutorial will help you a lot. In this tutorial, we'll provide the complete guide and script to creating a simple shopping cart in PHP using sessions and MySQL.

Read Full →

Add Subscriber to List using MailChimp API and PHP


MailChimp is an email marketing service, helps to manage the subscribers of your website. MailChimp provides an easy way to integrate email signup form in your website and send the email newsletter to the subscriber. In this tutorial, we'll show you how to integrate newsletter subscription form in your website and add subscriber to list with MailChimp using MailChimp API and PHP.

Read Full →

How to Extract All URLs from a Web Page using PHP


Extract URLs from the website is used in many cases, generating a sitemap from website URL is one of them. You can easily get all URLs from a web page using PHP. Here we'll provide short and simple code snippets to extract all URLs from a web page in PHP using DOMDocument class.

Read Full →

Connect With CodexWorld