The main objective of the application car Rental System require a temporary vehicle, for example those who do not own their own car, or owners of damaged or destroyed vehicles who are awaiting repair or insurance compensation or travelers who are out of town.

Here, User has to Login To book a car. The user can search for cars easily and book. For bookings, the user has to provide information such as Booking Dates and Text Message. All car details are provided and it also includes Car’s feature and Overview. The user can also post their Testimonials and the user can update their Profile as well as passwords anytime they want from the site. Admin can Add/Manage car brands, manage vehicles, bookings, testimonial, pages and many more. It’s easy to operate and understand by users. This site makes customers easy for car rental. The design is pretty simple and the user won’t find it difficult to understand, use and navigate.
INTRODUCTION
The main objective of the application car Rental System require a temporary vehicle, for example those who do not own their own car, or owners of damaged or destroyed vehicles who are awaiting repair or insurance compensation or travelers who are out of town.
System Actors(Users)
- Admin
- Registered Users
- Guest Users
Admin Features
- Admin Login
- Admin can Add New vehicle brand Details
- Admin can Manage Vehicle Brand Details(Edit ,Delete)
- Admin can Add New Vehicle Details
- Admin Can Manage vehicle Details(Edit,Delete)
- Admin can Manage Booking details(Admin can confirm and Cancel Booking)
- Admin Can Manage Testimonial Details (Active and Inactive)
- Admin Can Manage Contact us Query
- Admin Can Check All registered users details
- admin can update other page content Like about us details, term and Condition Page etc
- Admin can update the contact details dynamically
- Admin Can Manage Subscribers
- Admin Can Change Password
- Admin Dashboard has(Count all users, Count total booking, Count total subscribers, Count total queries etc)
Registered User Features
- New User can Register through Registration page
- Registered User can login with valid email and password
- User Can Recover Forget password after Providing Some Correct Information
- User can find car details and Booked car
- User can View Car booking history
- User Can Check Booking Status(admin can approve or disapprove)
- User can Update their Profile
- User Can Update their Password
- User Can Add New Testimonials
- Logout
Guest User Features
- Guest user can view the website and Surfe/Find Car details
- Guest user can also enquirer through contact us page.
Software Requirements
- XAMPP server
- Language Used
- Front End(User Interface) HTML 5 , AJAX,JQUERY,JAVASCRIPT, BOOTSTRAP
- Server Language PHP 5.5
- Backe End MYSQL
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 cars
Import database cars.sql (available inside zip package)
For Admin Panel
Login Details for admin : admin/admin
Tags :-
car rental project in php documentation,car rental php project,car rental system project in php,car rental project report in php,car rental system project in php source code,car rental system project in php free download,online car rental project in php,car rental system project in php abstract,car rental project in php and mysql,
car rental project in php and mysql (free download),car rental project in php free download,simple car rental project in php,download car rental project in php,
car rental project php,php car rental project,car rental project source code php,car rental system project report in php,car rental system project report in php free download,car rental system project in php documentation,online car rental system project in php download,car rental management system project in php free download,online car rental system project in php,online car rental system project in php free download,free online car rental system project in php,car rental system project in php github,car rental php project github,car rental management system project in php,car rental system mini project in php,car rental management system project report in php,car rental project on php,online car rental system project in php pdf,online car rental system project in php ppt,online car rental system project report in php,car rental project using php,car rental system project using php,

Here is the code of index.php
<!DOCTYPE html>
<html lang="en">
<head>
<title>Car Rental</title>
<meta charset="utf-8">
<meta name="author" content="pixelhint.com">
<meta name="description" content="La casa free real state fully responsive html5/css3 home page website template"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0" />
<link rel="stylesheet" type="text/css" href="css/reset.css">
<link rel="stylesheet" type="text/css" href="css/responsive.css">
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/main.js"></script>
</head>
<body>
<section class="">
<?php
include 'header.php';
?>
<section class="caption">
<h2 class="caption" style="text-align: center">Find You Dream Cars For Hire</h2>
<h3 class="properties" style="text-align: center">Range Rovers - Mercedes Benz - Landcruisers</h3>
</section>
</section><!-- end hero section -->
<section class="listings">
<div class="wrapper">
<ul class="properties_list">
<?php
include 'includes/config.php';
$sel = "SELECT * FROM cars WHERE status = 'Available'";
$rs = $conn->query($sel);
while($rws = $rs->fetch_assoc()){
?>
<li>
<a href="book_car.php?id=<?php echo $rws['car_id'] ?>">
<img class="thumb" src="cars/<?php echo $rws['image'];?>" width="300" height="200">
</a>
<span class="price"><?php echo 'Kshs.'.$rws['hire_cost'];?></span>
<div class="property_details">
<h1>
<a href="book_car.php?id=<?php echo $rws['car_id'] ?>"><?php echo 'Car Make>'.$rws['car_type'];?></a>
</h1>
<h2>Car Name/Model: <span class="property_size"><?php echo $rws['car_name'];?></span></h2>
</div>
</li>
<?php
}
?>
</ul>
</div>
</section> <!-- end listing section -->
<footer>
<div class="wrapper footer">
<ul>
<li class="links">
<ul>
<li>OUR COMPANY</li>
<li><a href="#">About Us</a></li>
<li><a href="#">Terms</a></li>
<li><a href="#">Policy</a></li>
<li><a href="#">Contact</a></li>
</ul>
</li>
<li class="links">
<ul>
<li>OTHERS</li>
<li><a href="#">...</a></li>
<li><a href="#">...</a></li>
<li><a href="#">...</a></li>
<li><a href="#">...</a></li>
</ul>
</li>
<li class="links">
<ul>
<li>OUR CAR TYPES</li>
<li><a href="#">Mercedes</a></li>
<li><a href="#">Range Rover</a></li>
<li><a href="#">Landcruisers</a></li>
<li><a href="#">Others.</a></li>
</ul>
</li>
<?php include_once "includes/footer.php"; ?>
save this file as index.php .
Now this is CSS code for main
@font-face {
font-family: 'lato-bold';
src: url('../fonts/lato-bold.eot');
src: url('../fonts/lato-bold.eot?#iefix') format('embedded-opentype'),
url('../fonts/lato-bold.woff') format('woff'),
url('../fonts/lato-bold.ttf') format('truetype'),
url('../fonts/lato-bold.svg#LatoBold') format('svg');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'lato-regular';
src: url('../fonts/lato-regular.eot');
src: url('../fonts/lato-regular.eot?#iefix') format('embedded-opentype'),
url('../fonts/lato-regular.woff') format('woff'),
url('../fonts/lato-regular.ttf') format('truetype'),
url('../fonts/lato-regular.svg#LatRegular') format('svg');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'p22_corinthia';
src: url('../fonts/p22_corinthia.eot');
src: url('../fonts/p22_corinthia.eot?#iefix') format('embedded-opentype'),
url('../fonts/p22_corinthia.woff') format('woff'),
url('../fonts/p22_corinthia.ttf') format('truetype'),
url('../fonts/p22_corinthia.svg#P22Corinthia') format('svg');
font-weight: normal;
font-style: normal;
}
body{
background: #fff;
}
.wrapper{
width: 1100px;
margin: 0 auto;
position: relative;
}
h1, h2, h3, h4, h5 ,h6{
color: #626262;
font-family: "lato-regular", Helvetica, Arial, sans-serif;
letter-spacing: 1px;
}
h1 { font-size: 2em; margin: .67em 0 }
h2 { font-size: 1.5em; margin: .75em 0 }
h3 { font-size: 1.17em; margin: .83em 0 }
h5 { font-size: .83em; margin: 1.5em 0 }
h6 { font-size: .75em; margin: 1.67em 0 }
h1, h2, h3, h4,
h5, h6 { font-weight: bolder }
.clearfix:before,
.clearfix:after {
content: " ";
display: table;
}
.clearfix:after {
clear: both;
}
.clearfix {
*zoom: 1;
}
header{
width: 100%;
height: 100px;
background: rgba(28, 54, 85, 12);
}
header .logo{
margin-top: 40px;
float: left;
text-decoration: none;
color: #002512;
font-weight: bold;
}
header a.hamburger{
text-decoration: none;
display: none;
float: right;
margin-top: 41px;
width: 24px;
height: 19px;
background: url('../img/hamburger_icon.png') no-repeat;
}
header nav{
float: right;
}
header nav ul{
margin-top: 40px;
list-style: none;
overflow: hidden;
float: left;
}
header nav ul li{
float: left;
margin-left: 50px;
}
header nav ul li a,
header nav .login_btn{
text-decoration: none;
color: #fff;
font-family: "lato-regular", Helvetica, Arial, sans-serif;
font-size: 16px;
letter-spacing: 1px;
}
header nav .login_btn{
float: right;
margin: 30px 0 0 50px;
padding: 10px 30px 11px 30px;
border: 2px solid #ffffff;
background: transparent;
transition: all .1s linear;
-webkit-transition: all .1s linear;
-moz-transition: all .1s linear;
-o-transition: all .1s linear;
}
header nav .login_btn:hover{
background: #ffffff;
color: #1c3655;
}
.hero{
width: 100%;
height: 600px;
position: relative;
background: url('../img/hero.jpg') no-repeat bottom center;
background-size: cover;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
}
.hero .caption{
width: 100%;
position: absolute;
text-align: center;
top: 50%;
margin-top: -105px;
}
.hero .caption h2{
color: #fff;
font-family: "P22 Corinthia";
font-size: 100px;
font-weight: lighter;
margin: 0;
position: relative;
display: block;
}
.hero .caption h3{
color: #fff;
font-family: "lato-regular", Helvetica, Arial, sans-serif;
font-size: 14px;
margin: -15px 0 0 25px;
left: 1px;
}
/* Search Section */
.search{
width: 100%;
height: 100px;
background: #bfd9f2;
position: relative;
}
.search #search{
display: block;
width: 1000px;
height: 100px;
float: left;
border: 0;
outline: none;
margin: 0;
padding: 0;
background: #bfd9f2;
color: #ffffff;
font-family: "lato-regular", Helvetica, Arial, sans-serif;
font-size: 20px;
text-transform: uppercase;
letter-spacing: 1px;
line-height: 22px;
}
.search #search::-webkit-input-placeholder{
color: #95badf;
}
.search #search:-moz-placeholder{
color: #95badf;
}
.search #search::-moz-placeholder{
color: #95badf;
}
.search #search:-ms-input-placeholder{
color: #95badf;
}
.search #submit_search{
display: none;
}
.search .advanced_search_icon{
display: block;
width: 26px;
height: 26px;
float: right;
background: url('../img/advanced_search_inactive.png') no-repeat;
margin-top: 37px;
transition: all .2s linear;
-webkit-transition: all .2s linear;
-moz-transition: all .2s linear;
-o-transition: all .2s linear;
}
.search .advanced_search_icon:hover{
background: url('../img/advanced_search_hover.png') no-repeat;
}
.search .advanced_search_icon.active{
background: url('../img/advanced_search_active.png') no-repeat;
}
.search .advanced_search{
width: 100%;
position: absolute;
top: 100px;
left: 0;
background: #cbe0f4;
border-top: 1px solid #aac8e4;
border-bottom: 1px solid #aac8e4;
z-index: 9999;
display: none;
}
.search .advanced_search .arrow{
display: block;
width: 14px;
height: 9px;
background: url('../img/search_arrow.png') no-repeat;
position: absolute;
top: -8px;
right: 6px;
}
.search .advanced_search #check_in_date,
.search .advanced_search #check_out_date,
.search .advanced_search #min_price,
.search .advanced_search #max_price{
display: block;
width: 509px;
height: 100px;
border: 0;
margin: 0;
padding: 0 20px;
outline: none;
background: #cbe0f4;
}
.search .advanced_search #check_in_date,
.search .advanced_search #check_out_date{
width: 429px;
background: url('../img/calendar_icon.png') no-repeat;
background-position: 484px 50%;
padding: 0 100px 0 20px;
}
.search .advanced_search .float{
float: left;
}
.search .advanced_search .search_fields{
overflow: hidden;
border-bottom: 1px solid #aac8e4;
}
.search .advanced_search .field_sep{
display: inline-block;
width: 1px;
height: 60px;
border: 0;
background: #aac8e4;
margin: 20px 0 0 0;
padding: 0;
}
.search .advanced_search #keywords{
display: block;
width: 1060px;
height: 100px;
border: 0;
margin: 0;
padding: 0 20px;
outline: none;
background: #cbe0f4;
}
.search .advanced_search #check_in_date,
.search .advanced_search #check_out_date,
.search .advanced_search #min_price,
.search .advanced_search #max_price,
.search .advanced_search #keywords{
color: #ffffff;
font-family: "lato-regular", Helvetica, Arial, sans-serif;
font-size: 20px;
text-transform: uppercase;
letter-spacing: 1px;
line-height: 22px;
}
.search .advanced_search #check_in_date::-webkit-input-placeholder,
.search .advanced_search #check_out_date::-webkit-input-placeholder,
.search .advanced_search #min_price::-webkit-input-placeholder,
.search .advanced_search #max_price::-webkit-input-placeholder,
.search .advanced_search #keywords::-webkit-input-placeholder{
color: #95badf;
}
.search .advanced_search #check_in_date:-moz-placeholder,
.search .advanced_search #check_out_date:-moz-placeholder,
.search .advanced_search #min_price:-moz-placeholder,
.search .advanced_search #max_price:-moz-placeholder,
.search .advanced_search #keywords:-moz-placeholder{
color: #95badf;
}
.search .advanced_search #check_in_date::-moz-placeholder,
.search .advanced_search #check_out_date::-moz-placeholder,
.search .advanced_search #min_price::-moz-placeholder,
.search .advanced_search #max_price::-moz-placeholder,
.search .advanced_search #keywords::-moz-placeholder{
color: #95badf;
}
.search .advanced_search #check_in_date:-ms-input-placeholder,
.search .advanced_search #check_out_date:-ms-input-placeholder,
.search .advanced_search #min_price:-ms-input-placeholder,
.search .advanced_search #max_price:-ms-input-placeholder,
.search .advanced_search #keywords:-ms-input-placeholder{
color: #95badf;
}
/* listings section */
.listings{
padding: 100px 0;
}
.listings ul.properties_list{
list-style: none;
overflow: hidden;
}
.listings ul.properties_list li{
display: block;
width: 340px;
height: auto;
position: relative;
float: left;
margin: 0 40px 40px 0;
}
.listings ul.properties_list li img.property_img{
width: 100%;
height: auto!important;
vertical-align: top;
}
.listings ul.properties_list li .price{
position: absolute;
top: 10px;
left: 10px;
padding: 15px 20px;
background: #ffffff;
color: #514d4d;
font-family: "lato-bold", Helvetica, Arial, sans-serif;
font-size: 16px;
font-weight: bold;
letter-spacing: 1px;
border-radius: 2px;
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
-o-border-radius: 2px;
}
.listings ul.properties_list li:nth-child(3n+0){
margin-right: 0;
}
.listings ul li .property_details{
width: 298px;
padding: 10px 20px 14px 20px;
border-bottom: 1px solid #f2f1f1;
border-left: 1px solid #f2f1f1;
border-right: 1px solid #f2f1f1;
transition: all .2s linear;
-webkit-transition: all .2s linear;
-moz-transition: all .2s linear;
-o-transition: all .2s linear;
}
.listings ul li:hover .property_details{
border-bottom: 1px solid #95badf;
border-left: 1px solid #95badf;
border-right: 1px solid #95badf;
}
.listings ul li .property_details h1{
color: #666464;
font-family: "lato-bold", Helvetica, Arial, sans-serif;
font-size: 16px!important;
font-weight: bold;
margin-bottom: 5px;
line-height: 28px;
}
.listings ul li .property_details h1 a{
text-decoration: none;
color: #666464;
}
.listings ul li .property_details h2{
color: #9d9d9d;
font-family: "lato-regular", Helvetica, Arial, sans-serif;
font-size: 12px;
line-height: 26px;
}
.listings ul li .property_details .property_size{
color: #676767;
}
.listings .more_listing{
display: block;
width: 100%;
text-align: center;
margin: 84px 0 22px 0;
}
.listings .more_listing_btn{
text-decoration: none;
padding: 20px 40px;
border: 2px solid #bfd9f1;
border-radius: 30px;
-webkit-border-radius: 30px;
-moz-border-radius: 30px;
-o-border-radius: 30px;
color: #afcbe6;
font-family: "lato-regular", Helvetica, Arial, sans-serif;
font-size: 16px;
text-transform: uppercase;
letter-spacing: 1px;
text-align: center;
transition: all .2s linear;
-webkit-transition: all .2s linear;
-moz-transition: all .2s linear;
-o-transition: all .2s linear;
}
.listings .more_listing_btn:hover{
color: #a0c3e5;
border: 2px solid #a0c3e5;
}
/* footer */
footer{
padding-top: 100px;
background: #95badf;
}
footer .footer > ul{
overflow: hidden;
}
footer .footer > ul > li{
display: block;
float: left;
list-style: none;
margin-right: 60px;
}
footer .footer > ul > li:last-child{
margin-right: 0;
}
footer .footer > ul > li.links{
width: 197px;
}
footer ul li.links > ul > li{
display: block;
width: 100%;
list-style: none;
margin-bottom: 27px;
}
footer ul li.links > ul > li:last-child{
margin-bottom: 0;
}
footer .footer > ul > li.links li a{
text-decoration: none;
display: block;
color: #fff;
font-family: "lato-regular", Helvetica, Arial, sans-serif;
font-size: 16px;
letter-spacing: .5px;
text-align: left;
}
footer .footer > ul > li.about{
width: 327px;
}
footer ul li.about p{
color: #fff;
font-family: "lato-regular", Helvetica, Arial, sans-serif;
font-size: 16px;
letter-spacing: .5px;
line-height: 34px;
margin-top: -9px;
}
footer ul li.about > ul > li{
display: inline-block;
margin-right: 20px;
margin-top: 30px;
}
footer ul li.about > ul > li:last-child{
margin-right: 0;
}
footer ul li.about > ul > li a{
background: url('../img/social_media.png') no-repeat;
}
footer ul li.about > ul > li a.facebook{
display: block;
width: 10px;
height: 18px;
background-position: 0 0;
}
footer ul li.about > ul > li a.twitter{
display: block;
width: 19px;
height: 18px;
background-position: -11px 0px;
}
footer ul li.about > ul > li a.google{
display: block;
width: 10px;
height: 18px;
background-position: -31px 0px;
}
footer ul li.about > ul > li a.skype{
display: block;
width: 17px;
height: 18px;
background-position: -43px 0px;
}
footer .copyrights{
display: block;
text-align: center;
padding: 40px 0;
margin-top: 60px;
color: #fff;
font-family: "lato-regular", Helvetica, Arial, sans-serif;
font-size: 14px;
letter-spacing: .5px;
border-top: 1px solid #82abd4;
}
footer .copyrights a.ph_link{
font-family: "Lato-bold", Helvetica, Arial, sans-serif;
font-weight: bold;
text-decoration: none;
}
save this file as main.css
This is main js file :
save this file as main.js
$(document).ready(function(){
/* Hamburger Menu & Icon */
$('.hamburger').on('click', function(e){
e.preventDefault();
$(this).toggleClass('opned');
$('header nav').toggleClass('active');
});
/* Advanced search form & Icon */
$('#advanced_search_btn').on("click", function(e){
e.preventDefault();
var ads_box =$('.advanced_search');
if(!ads_box.hasClass('advanced_displayed')){
$(this).addClass('active');
ads_box.stop().fadeIn(200).addClass('advanced_displayed');
}else{
$(this).removeClass('active');
ads_box.stop().fadeOut(200).removeClass('advanced_displayed');
}
});
});
Download Full ZIP file
To download zip file for Car Rental Project in PHP and Mysql use the link given below
click on the link Car and download the ZIP file , extract and get Rental Project in PHP and Mysql
click here to download file .