Car Rental Project in PHP and Mysql

Project Name : Car Rental Project in PHP and Mysql
Language Used                   :  PHP
Database                              :  My SQL
User Interface Design       :  HTML, AJAX,JQUERY,JAVASCRIPT
Web Browser                      :  Mozilla, Google Chrome, IE8,OPERA
Software                               :    XAMPP Server
Project Modules

  1. Users
  2. Admin
  3. Guest

Project Demo ————————-

View Demo

Guest Users 
Guest user can view the website and checkout the information about rental cars.
Guest user  can also enquiry  through contact us page.
Register Users
Anyone can register through registration page.
After successful registration user can login with valid email and password. User can recover own password by providing some registered info.
After successful login user can do following things–

  • Car Booking
  • View Car booking history
  • Update His/Her profile
  • Update his/her password
  • Post Testimonials
  • View Testimonials
  • Logout

Admin is the super user of website who can manage  everything on the website. Admin can login through login page
Admin Features–

  • Admin can create vehicle brands
  • Manage Vehicle Brands(Edit ,Delete)
  • Post Vehicle
  • Manage vehicle(Edit,Delete)
  • Manage Booking(Admin can confirm and Cancel Booking)
  • Manage Testimonials (Active and Inactive)
  • Manage Contact us Query
  • Admin Can the details of registered users
  • admin can also update the page content
  • Admin can update the contact us details
  • Manage Subscribers
  • Admin Dashboard(Admin can view the count of reg users, total booking, total subscribers, total queries etc)
  • Change Password(admin can change own password)
  • logout

How to run Project
1. Download and Unzip file on your local system copy carrental .
2. Put carrental folder inside root directory
Database Configuration
Open phpmyadmin
Create Database carrental
Import database carrental.sql (available inside zip package)
For User
Open Your browser put inside browser “http://localhost/carrental”
Login Details for user:

Username :
Password :  Test@12345

For Admin Panel
Open Your browser put inside browser “http://localhost/carrental/admin”
Login Details for admin :

Username : admin
Password : Test@12345

Download full source code(Car Rental Project in PHP and Mysql)
Size: 14.3 MB
Version: V 1.0

Purchase Project Report

Purchase Project Report in Rs 249 / $3.8

Anuj Kumar

I'm Anuj kumar a web developer with 4+ year experience .I write blogs in my free time. I love to learn new technologies and share with others. I founded PHPGurukul in September 2015. The main aim of this website to is provide php , jquery , mysql , phpoops and other web development tutorials. I am trying best effort to make PHPGurukul useful for every single moment spend on this website. If you think this website is useful to visit please share with your friend and buddies.

Recommended Tutorials for you

You may also like...

652 Responses

  1. srajan says:

    can you share the source code with me at

  2. phoenix indarkness says:

    i need the source code for the car rental project can u please send it to

  3. Hopp Fel says:

    hi good day can you share me the project source code i’m really interested to learn thanks (my email

  4. Nishchal Joshi says:

    Please send me the source code at I will be grateful

  5. Abhijeet Kupati says:

    Please send me a code for this on
    Thanks in advance…

  6. Jack says:

    Dear Anuj
    Please share source & sql to email
    Thanks in Advance

  7. Adeena R Bhat says:

    hey sir can i get source code for this project plz send to because i am beginner by looking at this code i want to develop bike rental database

  8. lfuit hawler says:

    I need the source code of Car Rental Project in PHP and Mysql can u pls send it to

  9. Swarna S Iyengar says:

    I need the source code of car sales management system in php can u pls send it to pls …

  10. Developer_guru says:

    Please send me a code for this on .
    Thanks in advanced..

  11. AG Silversilkroad says:

    Hello my friend. I downloaded the project installed it successfully. but no credentials are working. it saying INVALID DETAILS . with all accounts its the same, also for admin page. i tried everything. even subscribing says THERE IS AN ERROR. could you help. whats going wrong.

  12. Madhuri Bhamare says:

    Please give me the make payment program by user program for tourism management system project.

  13. praveen says:

    I dont understand whatever code i runs its say..mysql 1045 error or some error…..even after i download correct php project…….what to do ? is it because im using mac?

  14. rehman says:

    wea cn i change code for the page content backgroud color which is light grey atm…… wea is tht code and which line?

  15. rehman says:

    hey……on the home page for user…..dea is this blue car displayed under the navigation. the codes to chage it is in just style.css or somewhere else also……because when i change the url of the banner to another pic url….it doesnt change….i only changed the url in the style.css… i have to change smewea else also?

    • Anuj Kumar says:

      You have to change in assests/css/style.css in line number 1066

      • rehman says:

        i did chnage it….. url(”.. /images/to another pic name”);…….
        but it wont work….. i even deleted the pic frm the folder…..even the pic was stil dea… i was surprised to see it stil on fave after deleting the same picture…. ani help would be appreciated

        • Anuj Kumar says:

          press ctrl+f5 or delete coookies then try

          • rehman says:

            bro thanks for the help……it worked now…..i dont know much abt coding bt i am trying to learn step by step…….thank you so much and you have greated a beautiful website yet so simple and user friendly…… thing i wanted to ask……..which api is the code using….pdo ???or something else?

          • rehman says:

            can i ask you one last help please……how can i change it from pdo to mysqli…….i want to learn mysqli with the same code……how to i convery to from pdo to mysqli………i’ll be also looking forward to purchase the documentation…..just this last help sir.

          • Anuj Kumar says:

            PDO is best as compare to mysqli.
            The PHP Data Objects (PDO) extension defines a lightweight, common interface for accessing databases in PHP.

          • rehman says:

            can the codes be changed into mysqli…….cz i really want to do it and see the result…….please if i could be helped……really have to do it….what all has to be done?

          • Anuj Kumar says:

            You have to change all the queries

  16. Dos Santos Junior says:

    Well done. Do you have the documentation?

  17. Nixon says:

    I am getting Error: SQLSTATE[HY000] [1049] Unknown database ‘carrental’

  18. Madhuri Bhamare says:

    In car rental project one car is book by more than one user for same date.

  19. Glove Mdeya says:


  20. Rakesh says:

    I am Getting bellow error while running in browser with link http://localhost/carrental/
    Error: SQLSTATE[28000] [1045] Access denied for user ‘root’@’localhost’ (using password: NO)

Leave a Reply

Your email address will not be published. Required fields are marked *