Complete online Survey system in PHP and MySQL with source code

The online survey system in PHP and MySQL with the complete zipped source code provided, if you want to download it. This system helps in conducting online survey.

Complete online Survey system in PHP and MySQL with source code
Complete online Survey system in PHP and MySQL with source code

Complete online Survey system in PHP and MySQL with source code

Table of content

  1. About the online survey system in PHP
  2. Features of online survey system in PHP
  3. Script details
  4. Server Requirements
  5. How to run the downloaded source code
  6. The screenshots

About the online survey system in PHP

This project named the online survey system in PHP and Mysql is a PHP script that can be used to manage a survey online. This system can be used by schools, offices, or organization for easy online survey management.

Here the admin adds users and manages all the users. The admin is the only person that can add a user and select the role of the user been created. The admin creates surveys and manage all other created surveys. The admin manages reports of surveys.

Users can view surveys and submit answers.

Features of the online survey system in PHP

  • Dashboard – shows the summary of the surveys and users.
  • Admin can add users
  • The admin only creates surveys
  • List of all user a shown in the admin panel
  • Admin can edit user
  • Admin can select the user role
  • Users gives answer to surveys
  • The survey report is shown in the survey report page
  • Surveys have start and end dates
  • Number of people took the survey.
  • Search system for large survey list.
  • Admin can add surveys.
  • Logout users
  • Delete surveys
  • Add survey questions
  • Admin delete users
  • Admin edit users
  • Logout system
  • Account management

Script Details

    Written in PHP, HTML, JavaScript
    Database MYSQL
    Design Bootstrap, CSS
    Includes README file
    Type web application
    Download type Zip file
    Download size 18.95mb

    Server Requirements

     Almost all servers already have them installed.

    • PHP 7 higher
    • PHP
    • MYSQL Database

    Step by step to run the script (installation)

    A server is required to run this project. We will be using XAMPP.

    For XAMPP

    1. The script is provided below, click on download to start downloading the script.
    2. Go to your download folder in your Pc and extract the source code folder.
    3. Copy the folder you extracted and paste it in (for XAMPP xampp/htdocs, for WAMPP wampp/www, for LAMPP var/www/html) root directory in your pc.
    4. Open your XAMPP Control panel and start Apache and MYSQL.

    Creating a database

    1. Open your browser
    2. Go to this path “http://localhost/phpmyadmin/
    3. Click on New on the left side of the screen.
    4. Create a database named “survey” (or with any other name you want) and click on create. Read NOTE below first.
    5. Click on the import tab.
    6. Click on browse file and select “survey.db” from the database folder we extracted.
    7. Click on Go.

    NOTE: IF YOU USE ANOTHER DATABASE NAME APART FROM SURVEY, MAKE SURE YOU ALSO CHANGE IT IN DB_CONNECT.PHP FILE

    After creating a database

        1. Open a new tab on your browser and go to the path. E.g. “http://localhost/survey-system/”
        2. The login page will be displayed.
        3. Login using the details below, you can also change it in the admin panel.

    Login info

    Email: admin@admin.com

    Password: 12345

    Screenshots

    admin dashboard

    add user