Rec carrier Guidance
Rec carrier Guidance
2.System Analysis
2.1 FEASIBILTY STUDY
Technical Feasibility
Economic Feasibility
Behavioral Feasibility
Technical Feasibility
Technical feasibility includes whether the technology is available in the market for
development and its availability. The assessment of technical feasibility must be based on an
outline design of system requirements in terms of input, output, files, programs and procedures.
This can be qualified in terms of volumes of data, trends, frequency of updating, cycles of
activity etc, in order to give an introduction of technical system. Considering our project if is
technically feasible. Internal Management System with its emphasis on a more strategic decision
making is fast gaining ground as a popular outsourced function.
Economical Feasibility
This feasibility study present tangible and intangible benefits from the prefect by
comparing the development and operational cost. The technique of cost benefit analysis is often
used as a basis for assessing economic feasibility. This system needs some more initial
investment than the existing system, but it can be justifiable that it will improve quality of
service.
This analysis involves how it will work when it is installed and the assessment of
political and managerial environment in which it is implemented. People are inherently resistant
to change and computers have been known to facilitate change. The new proposed system is very
much useful to the useful to the users and there for it will accept broad audience from around the
world.
2.2 Existing System
In recent years there has been a huge improvement in the field of Information Technology and website
development is almost as its saturation point where there are quite a lot of website developers. Even
after all sudden boom in website development there is always a need for better performing web portal
and advancement in programming languages bring the need of migration of website from one
technology to another. There is a N number of web portal but this website in particular stands apart two
important issues Choosing a carrier path in educational system is a complex task for students from
a decision making perspective in selecting a perfect college and courses of latest technologies
and in which course he/she will be in the better students. Our goal is to create a system to tackle
this problem and help those students to choose the better course and college which suits for
them.
Disadvantages of Existing System
Students Doesn’t know which course suits for him/her professional
Its difficult for the students to select the best colleges
The proposed system is designed to be more efficient than the manual system. It invokes all
base tasks that are now carried out manually, thus this Web Application provides facility for
students to education courses for their carrier which suits for them as well as best college info. It
saves time for students to choose the colleges as well as the course defined in the application for
their carriers.
ADVANTAGES
● This application converts whole offline manual system to online.
● This system reduces the students effort and providing lots knowledges about
carrier courses.
● Helps to find the best colleges and courses.
● Decrease in processing time
2.4 Software Engineering Paradigm
The requirement analysis document collects, organizes, and tracks the project
requirements from key stakeholders. It guides project planning and ensures you complete your
projects aligned with stakeholder and business goals.
2.4.2 Design
Software design is a mechanism to transform user requirements into some suitable form,
which helps the programmer in software coding and implementation. It deals with representing
the client's requirement, as described in SRS (Software Requirement Specification) document,
into a form, i.e., easily implementable using programming language.
2.4.3 Coding
The coding is the process of transforming the design of a system into a computer
language format. This coding phase of software development is concerned with software
translating design specification into the source code. It is necessary to write source code &
internal documentation so that conformance of the code to its specification can be easily verified.
Coding is done by the coder or programmers who are independent people rather than the
designer. The goal is not to reduce the effort and cost of the coding phase, but to cut to the cost
of a later stage. The cost of testing and maintenance can be significantly reduced with efficient
coding.
2.4.4 Testing
Coding is done by the coder or programmers who are independent people rather than the
designer. The goal is not to reduce the effort and cost of the coding phase, but to cut to the cost
of a later stage. The cost of testing and maintenance can be significantly reduced with efficient
coding.
Software maintenance is a part of the Software Development Life Cycle. Its primary goal
is to modify and update software applications after delivery to correct errors and to improve
performance. Software is a model of the real world. When the real world changes, the software
requires alteration wherever possible. Software Maintenance is an inclusive activity that includes
error corrections, enhancement of capabilities, deletion of obsolete capabilities, and optimization.
SYSTEM CONFIGURATION
System configuration is a term in systems engineering that defines the computer
hardware, the processes as well as the various devices that comprise the entire system and its
boundaries.
Software Specification
Text Editor Notepad ++
Front End Html, Css, Bootstrap, Javascript
Back End PHP
Database MySql
Server Wamp Or Xamp Server
Operating System Windows 10 or Higher
3.3 About The Software
About PHP :
PHP: Hypertext Preprocessor (the name is a recursive acronym) is a widely used, general-
purpose scripting language that was originally designed for web development to produce
dynamic web pages. For this purpose, PHP code is embedded into the HTML source document
and interpreted by a web server with a PHP processor module, which generates the web page
document. As a general-purpose programming language, PHP code is processed by an interpreter
application in command-line mode performing desired operating system operations and
producing program output on its standard output channel. It may also function as a graphical
application. PHP is available as a processor for most modern ib servers and as standalone
interpreter on most operating systems and computing platforms. PHP was originally created by
Rasmus Lerdorf in 1995 and has been in continuous development ever since. The main
implementation of PHP is now produced by The PHP Group and serves as the de facto standard
for PHP as there is no formal specification. PHP is free software released under the PHP License,
which is incompatible with the GNU General Public License (GPL) because restrictions exist
regarding the use of the term PHP.
Hypertext refers to files linked together using hyperlinks, such as HTML (Hypertext Markup
Language) files. Preprocessing is executing instructions that modify the output. Below is a
demonstration of the difference between HTML and PHP files.
Your browser sends a request to that web page's server (computer) for the file (HTML or
image) you wish to view.
The web server (computer) sends the file requested back to your computer.
Your browser displays the file appropriately.
If you request a PHP file (ends with ".php"), the server handles it differently.
Benefit of PHP
Because the server does processing, the output of PHP files changes when its input changes. For
example, most of the pages on the Horticulture site have only two (2) PHP commands:
Include the header file that defines the links on the left, the banner, and the quick links at
the top.
Include the footer file that displays the mission statement and Horticulture contact
information.
Because including the files is performed every time the PHP file is accessed, when the
header/footer files change, the new content will be immediately updated. In other words, if you
add a new link, every page that includes the header will immediately display the new link.
Security
About 30% of all vulnerabilities listed on the National Vulnerability Database are linked to PHP.
These vulnerabilities are caused mostly by not following best practice programming rules:
technical security flaws of the language itself or of its core libraries are not frequent (23 in 2008,
about 1% of the total). Recognizing that programmers make mistakes, some languages include
taint checking to detect automatically the lack of input validation which induces many issues.
Such a feature is being developed for PHP, but its inclusion in a release has been rejected several
times in the past. There are advanced protection patches such as Suhosin and Hardening-Patch,
especially designed for Web hosting environments.
Syntax
The PHP interpreter only executes PHP code within its delimiters. Anything outside its
delimiters is not processed by PHP (although non-PHP text is still subject to control structures
described in PHP code). The most common delimiters are <?php to open and ?> to close PHP
sections. <script language="php"> and </script> delimiters are also available, as are the
shortened forms <?or<?= (which is used to echo back a string or variable) and ?> as well as
ASP-style short forms <% or <%= and %>. While short delimiters are used, they make script
files less portable as support for them can be disabled in the PHP configuration, and so they are
discouraged. The purpose of all these delimiters is to separate PHP code from non-PHP code,
including HTML.
The first form of delimiters, <?php and ?>, in XHTML and other XML documents, creates
correctly formed XML 'processing instructions'. This means that the resulting mixture of PHP
code and other markup in the server-side file is itself well-formed XML.
Variables are prefixed with a dollar symbol, and a type does not need to be specified in advance.
Unlike function and class names, variable names are case sensitive. Both double-quoted ("") and
here-doc strings provide the ability to interpolate a variable's value into the string. PHP treats
newlines as whitespace in the manner of a free-form language (except when inside string
quotes), and statements are terminated by a semicolon. PHP has three types of comment
syntax: /* */ marks block and inline comments; // as well as # are used for one-line comments.
The echo statement is one of several facilities PHP provides to output text, e.g., to a Web
browser.
In terms of keywords and language syntax, PHP is similar to most high level languages that
follow the C style syntax. if conditions, for and while loops, and function returns are similar in
syntax to languages such as C, C++, Java and Perl.
Data types
PHP stores whole numbers in a platform-dependent range, either a 64-bit or 32-bit signed integer
equivalent to the C-language long type. Unsigned integers are converted to signed values in
certain situations; this behavior is different from other programming languages. Integer variables
can be assigned using decimal (positive and negative), octal, and hexadecimal notations. Floating
point numbers are also stored in a platform-specific range. They can be specified using floating
point notation, or two forms of scientific notation. PHP has a native Boolean type that is similar
to the native Boolean types in Java and C++. Using the Boolean type conversion rules, non-zero
values are interpreted as true and zero as false, as in Perl and C++. The null data type represents
a variable that has no value. The only value in the null data type is NULL. Variables of the
"resource" type represent references to resources from external sources. These are typically
created by functions from a particular extension, and can only be processed by functions from
the same extension; examples include file, image, and database resources. Arrays can contain
elements of any type that PHP can handle, including resources, objects, and even other arrays.
Order is preserved in lists of values and in hashes with both keys and values, and the two can be
intermingled. PHP also supports strings, which can be used with single quotes, double quotes,
nowdoc or heredoc syntax.
MY SQL
MySQL is the world's most used open source relational database management system (RDBMS)
as of 2008 that run as a server providing multi-user access to a number of databases. The
MySQL development project has made its source code available under the terms of the GNU
General Public License, as well as under a variety of proprietary agreements. MySQL was
owned and sponsored by a single for-profit firm, the Swedish company MySQL AB, now owned
by Oracle Corporation.
MySQL is a popular choice of database for use in web applications, and is a central component
of the widely used LAMP open source web application software stack—LAMP is an acronym
for "Linux, Apache, MySQL, Perl/PHP/Python." Free-software-open source projects that require
a full-featured database management system often use MySQL.
For commercial use, several paid editions are available, and offer additional functionality.
Applications which use MySQL databases include: TYPO3, Joomla, Word Press, phpBB,
MyBB, Drupal and other software built on the LAMP software stack. MySQL is also used in
many high-profile, large-scale World Wide Web products, including Wikipedia, Google(though
not for searches), ImagebookTwitter, Flickr, Nokia.com, and YouTube.
Interimages
MySQL is primarily an RDBMS and ships with no GUI tools to administer MySQL databases or
manage data contained within the databases. Users may use the included command line tools, or
use MySQL "front-ends", desktop software and web applications that create and manage MySQL
databases, build database structures, back up data, inspect status, and work with data records.
The official set of MySQL front-end tools, MySQL Workbench is actively developed by Oracle,
and is freely available for use.
Features
As of April 2009, MySQL offered MySQL 5.1 in two different variants: the open source
MySQL Community Server and the commercial Enterprise Server. MySQL 5.5 is offered
under the same licenses. They have a common code base and include the following features:
Multiple storage engines, allowing one to choose the one that is most effective for each table in
the application (in MySQL 5.0, storage engines must be compiled in; in MySQL 5.1, storage
engines can be dynamically loaded at run time): Native storage engines (MyISAM, Falcon,
Merge, Memory (heap), Federated, Archive, CSV, Blackhole, Cluster, EXAMPLE, Maria, and
InnoDB, which was made the default as of 5.5). Partner-developed storage engines (solidDB,
NitroEDB, ScaleDB, TokuDB, Infobright (formerly Brighthouse), Kickfire, XtraDB, IBM DB2).
InnoDB used to be a partner-developed storage engine, but with recent acquisitions, Oracle now
owns both MySQL core and InnoDB.
SYSTEM DESIGN
The most creative and challenging face of the system development is System Design. It
provides the understanding and procedural details necessary for implementing the system
recommended in the feasibility study. Design goes through the logical and physical stages of
development.
In designing a new system, the system analyst must have a clear understanding of the
objectives, which the design is aiming to fulfill. The first step is to determine how the output is to
be produced and in what format. Second, input data and master files have to be designed to meet
the requirements of the proposed output. The operational phases are handled through program
construction and testing.
Design of a system can be defined as a process of applying various techniques and principles
for the purpose of defining a device, a process or a system in sufficient detail to permit its
physical realization. Thus system design is a solution to “how to” approach to the creation of a
new system. Thus important phase provides the understanding and the procedural details
necessary for implementing the system recommended in the feasibility study. The design step
provides a data design, architectural design, and a procedural design.
Output Design
In the output design, the emphasis is on producing a hard copy of the information
requested or displaying the output on the CRT screen in a predetermined format. Two of the
most output media today are printers and the screen. Most users now access their reports from a
hard copy or screen display. Computer’s output is the most important and direct source of
information to the user, efficient, logical, output design should improve the systems relations
with the user and help in decision-making.
As the outputs are the most important source of information to the user, better design
should improve the system’s relation and also should help in decision-making. The output
device’s capability, print capability, print capability, response time requirements etc should also
be considered form design elaborates the way output is presented and layout available for
capturing information. It’s very helpful to produce the clear, accurate and speedy information for
end users.
Input Design
In the input design, user-oriented inputs are converted into a computer based system
format. It also includes determining the record media, method of input, speed of capture and
entry on to the screen. Online data entry accepts commands and data through a keyboard. The
major approach to input design is the menu and the prompt design. In each alternative, the user’s
options are predefined. The data flow diagram indicates logical data flow, data stores, source and
destination. Input data are collected and organized into a group of similar data. Once identified
input media are selected for processing. In this software, importance is given to develop
Graphical User Interface (GUI), which is an important factor in developing efficient and user-
friendly software. For inputting user data, attractive forms are designed. User can also select
desired options from the menu, which provides all possible facilities. Also the important input
format is designed in such a way that accidental errors are avoided. The user has to input only
just the minimum data required, which also helps in avoiding the errors that the users may make.
Accurate designing of the input format is very important in developing efficient software. The
goal or input design is to make entry as easy, logical and free from errors.
Logical Design
Logical data design is about the logically implied data. Each and every data in the
form can be designed in such a manner to understand the meaning. Logical data designing should
give a clear understanding and idea about the related data used to construct a form.
A system architecture or systems architecture is the conceptual model that defines the structure,
behavior, and more views of a system. An architecture description is a formal description and
representation of a system, organized in a way that supports reasoning about the structures and
behaviors of the system. System architecture can comprise system components, the externally
visible properties of those components, the relationships (e.g. the behavior) between them. It can
provide a plan from which products can be procured, and systems developed, that will work
together to implement the overall system. There have been efforts to formalize languages to
describe system architecture, collectively these are called architecture description languages
(ADLs).
An allocated arrangement of physical elements which provides the design solution for a
consumer product or life-cycle process intended to satisfy the requirements of the functional
architecture and the requirements baseline.
Architecture comprises the most important, pervasive, top-level, strategic inventions, decisions,
and their associated rationales about the overall structure (i.e., essential elements and their
relationships) and associated characteristics and behavior.
If documented, it may include information such as a detailed inventory of current hardware,
software and networking capabilities; a description of long-range plans and priorities for future
purchases, and a plan for upgrading and/or replacing dated equipment and software
The composite of the design architectures for products and their life-cycle processes.
Architecture Design
A DFD is also known as a “bubble Chart” has the purpose of clarifying system
requirements and identifying major transformations that will become programs in system
design. So it is the starting point of the design to the lowest level of detail. A DFD consists of a
series of bubbles joined by data flows in the system.
Level 0
Level 1
Level 2
FILE Design AND DATABASE DESIGN
Interact with the Database Administrator (DBA) when preparing this section. The section should
reveal the final design of all database management system (DBMS) files and the non-DBMS files
associated with the system under development. Additional information may add as required for
the particular project. Provide a comprehensive data dictionary showing data element name, type,
length, source, validation rules, maintenance (create, read, update, delete (CRUD) capability), data
stores, outputs, aliases, and description. Can be included as an appendix.
Refined logical model; provide normalized table layouts, entity relationship diagrams,
and other logical design information
A physical description of the DBMS schemas, sub-schemas, records, sets, tables,
storage page sizes, etc.
Access methods (such as indexed, via set, sequential, random access, sorted pointer
array, etc.)
Estimate of the DBMS file size or volume of data within the file, and data pages,
including overhead resulting from access methods and free space
Definition of the update frequency of the database tables, views, files, areas, records,
sets, and data pages; estimate the number of transactions if the database is an online
transaction-based system
Identify record structures, record keys or indexes, and reference data elements within
the records
Define record length (fixed or maximum variable length) and blocking factors
Define file access method—for example, index sequential, virtual sequential, random
access, etc.
Estimate the file size or volume of data within the file, including overhead resulting
from file access methods
Define the update frequency of the file; if the file is part of an online transaction-
based system, provide the estimated number of transactions per unit time, and the
statistical mean, mode, and distribution of those transactions
Login Table
College Master
S.No Field Name Data Type Constraints
1 Clg Id Int Primary Key
2 Country Varchar Not Null
3 State Varchar Not Null
4 City Varchar Not Null
5 Email Varchar Not Null
6 CollegeName Varchar Not Null
7 Address Varchar Not Null
8 Category Varchar Not Null
9 Grade Varchar Not Null
Course Master
S.No Field Name Data Type Constraints
1 CourseId Int Primary Key
2 Course Name Varchar Not Null
3 Category Varchar Not Null
4 College Id Int Foreign Key
5 Details Text Not Null
Clients
S.No Field Name Data Type Constraints
1 Client Id Int Primary Key
2 Name Varchar Not Null
3 Mobile Varchar Not Null
4 User Name Varchar Not Null
5 Password Varchar Not Null
6 RegDate DateTime Not Null
7 Address Varchar Not Null
Questions
S.No Field Name Data Type Constraints
1 Qid Int Primary Key
2 Question1 Varchar Not Null
3 Answer1 Varchar Not Null
4 Question2 Varchar Not Null
5 Answer2 Varchar Not Null
6 Question3 Varchar Not Null
7 Answer3 Varchar Not Null
8 Question4 Varchar Not Null
9 Answer4 Varchar Not Null
Feedbacks
S.No Field Name Data Type Constraints
1 FId Int Primary Key
2 Username Varchar Not Null
3 Mobile Varchar Not Null
4 Feedbacks Text Not Null
SYSTEM IMPLEMENTATION
5.1 Module Description
In this part, it actually constructing a new system from the scratch with the help of the system
design. This part will look at the implementation of the system including the database and the
main application. It including coding, testing and integrate system to meet its requirements. The
section highlights the main feature if the system and they were implemented.
Module Description
Modules Description shows the different page of the system and following are different module
of these system.
Home Page
Home page shows the all the menu item existing in the system. It includes College Info, Course
Info and contact details of organization.
Signup Page
In this signup screen, Students can create their login account by providing all the details
information required in the form. All the information provided by the user will validate by the
system and if entered information beyond the required information then system will show the
error message immediately. When they submit their information, all the information will be
inserted into the database.
Login Page
Students should before register their account into the system to login into the system. When they
submit the login form with valid username and password the session will be created with the
username. Validation will be performed by checking if the username and password occurred
together. If they match with the data into the database then the user would be directed to the
internal pages. If the username and password does not match, then the user will be directed to the
login form with error message.
<li><a href="clients_reg.php">Signup</a></li>
<li><a href="login1.php">SignIn</a>
</li>
</ul>
</div>
</div>
<p><br></p>
<p><br></p>
<div class="container-fluid">
<div class="row">
<div class="col-md-1"></div>
<div class="col-md-9">
<h2 align="center" style="color:#000;">Carrier
Guidance</h2>
<div class="panel panel-info">
</div>
</div>
<div class="col-md-1"></div>
</div>
</div>
</body>
</html>
Add College
<?php
session_start();
if(!isset($_SESSION["uid"]))
{
header("location:index.php");
}
require "Connection.php";
// if(isset($_POST["btncst"]))
if(isset($_POST['btncst']))
{
$txtcountry = $_POST['txtcountry'];
$txtstate = $_POST['txtstate'];
$txtcity = $_POST['txtcity'];
$txtemail = $_POST['txtemail'];
$txtcollege = $_POST['txtcollege'];
$txtmobile = $_POST['txtmobile'];
$txtaddress = $_POST['txtaddress'];
$txtcategory = $_POST['txtcategory'];
$status = "Waiting";
// $sql1 = "insert into
colleges(country,state,city,email,college,mobile,address,category)values('$txtcountry','$txts
tate','$txtcity','$txtemail','$txtcollege','$txtmobile','$txtcategory')";
$sql1 = "insert into colleges set
country = '$txtcountry',
state = '$txtstate',
city = '$txtcity',
email = '$txtemail',
college = '$txtcollege',
mobile = '$txtmobile',
address = '$txtaddress',
category = '$txtcategory'";
if(mysqli_query($con,$sql1))
{
echo "
alert('<div class='alert alert-success'>
<p><br></p><p><br></p><p><br></p>
<a href='#' class='close' data-dismiss='alert'
aria-label='close'>×</a>
<b>Added College Successfully</b>
</div>')
";
}
else
{
echo "
<div class='alert alert-success'>
<p><br></p><p><br></p><p><br></p>
<a href='#' class='close' data-dismiss='alert'
aria-label='close'>×</a>
<b>Failed</b>
</div>
";
}
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Online Carrier Guidance</title>
<link rel="stylesheet" href="css/bootstrap.min.css"/>
<script src="js/jquery-2.2.2.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/main.js"></script>
</head>
<style>
.subtitle-one {
text-align: left;
font-size: 1rem;
color: #fff;
font-weight: bold;
position: absolute;
top: 36px;
left: 17px;
}
</style>
<body style="background-image:url(images/bg1.jpg);">
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="container-fluid">
<div class="navbar-header">
<img src="images/logo.png" id="logo" style="height:50px;"
style="border:2px solid black;padding: 10px;border-radius: 50%;" alt="Prospective
Employer">
<a href="#" class="navbar-brand" id="titletext"><span
style="font-size:24px;">C</span>arrier <span
style="font-size:24px;">G</span>uidance</a>
</ul>
<ul class="nav navbar-nav navbar-right">
<li><a href="#"><?php echo "Hi ".$_SESSION["uname"]; ?
></a></li>
</ul>
</div>
</div>
<p><br></p> <p><br></p>
<div class="container-fluid">
<div class="row">
<div class="col-md-12" id="signup_msg"> </div>
</div>
<div class="row">
<div class="col-md-12">
<div class="panel panel-primary">
<div class="panel-heading" style="background-
color:#000000;color:#cccccc;"><h4 align="center">Add College</h4></div>
<div class="panel-body" style="background-
color:#EEE8AA;">
<form method="post">
<div class="col-md-6">
<label
for="Name">Country</label>
<input type="text" class="form-
control" id="txtcountry" name="txtcountry" >
</div>
<div class="col-md-6">
<label for="Name">State</label>
<input type="text" class="form-
control" id="txtstate" name="txtstate">
</div>
<div class="col-md-6">
<label for="Name">City</label>
<input type="text" class="form-
control" id="txtcity" name="txtcity" >
</div>
<div class="col-md-6">
<label for="Name">Email</label>
<input type="email" class="form-
control" id="txtemail" name="txtemail" >
</div>
<div class="col-md-6">
<label
for="Name">College</label>
<input type="text" class="form-
control" id="txtcollege" name="txtcollege" >
</div>
<div class="col-md-6">
<label
for="Name">Mobile</label>
<input type="text" class="form-
control" id="txtmobile" name="txtmobile" >
</div>
<div class="col-md-6">
<label
for="Name">Address</label>
<textarea class="form-control"
id="txtaddress" name="txtaddress" ></textarea>
</div>
<div class="col-md-6">
<label
for="Name">Category</label>
<select name="txtcategory"
id="txtcategory" class="form-control">
<option
value="">Select Category</option>
<option
value="Engineering">Engineering</option>
<option
value="Arts And Science">Arts And Science</option>
<option
value="Business School">Business School</option>
<option
value="Agriculture">Agriculture</option>
</select>
</div>
<p><br> </p>
</div>
</div>
</form>
</div>
</div>
</div>
.button span {
cursor: pointer;
display: inline-block;
position: relative;
transition: 0.5s;
}
.button span:after {
content: '\00bb';
position: absolute;
opacity: 0;
top: 0;
right: -20px;
transition: 0.5s;
}
.button:hover span {
padding-right: 25px;
}
.button:hover span:after {
opacity: 1;
right: 0;
}
.title{
background-color: #ccc11e;
font-size: 28px;
padding: 20px;
}
.button3 {
border: none;
color: white;
padding: 10px 32px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin: 4px 2px;
-webkit-transition-duration: 0.4s; /* Safari */
transition-duration: 0.4s;
cursor: pointer;
}
.button3 {
background-color: white;
color: black;
border: 2px solid #f4e542;
}
.button3:hover {
background-color: #f4e542;
color: Black;
}
</style>
</head>
<body>
</ul>
<ul class="nav navbar-nav navbar-right">
<li><a href="#"><?php echo "Hi ".$_SESSION["uname"]; ?
></a></li>
</ul>
</div>
</div>
<center>
<div class="title">Carrier Guidance</div>
<?php
if (isset($_POST['click']) || isset($_GET['start'])) {
@$_SESSION['clicks'] += 1 ;
$c = $_SESSION['clicks'];
if(isset($_POST['userans'])) { $userselected =
$_POST['userans'];
$result2 = mysqli_query($con,$fetchqry2);
} else {
$_SESSION['clicks'] = 0;
}
//echo($_SESSION['clicks']);
?>
<div class="bump"><br><form><?php if($_SESSION['clicks']==0){ ?> <button
class="button" name="start" float="left"><span>Start To
Know Your Carrier</span></button> <?php } ?></form></div>
<form action="" method="post">
<table><?php if(isset($c)) { $fetchqry = "SELECT * FROM `quiz` where id='$c'";
$result=mysqli_query($con,$fetchqry);
$num=mysqli_num_rows($result);
$row = mysqli_fetch_array($result,MYSQLI_ASSOC); }
?>
<tr><td><h3><br><?php echo @$row['que'];?></h3></td></tr> <?php
if($_SESSION['clicks'] > 0 && $_SESSION['clicks'] < 6){ ?>
<tr><td><input required type="radio" name="userans" value="<?php echo
$row['option1'];?>"> <?php echo $row['option1']; ?><br>
<tr><td><input required type="radio" name="userans" value="<?php echo
$row['option2'];?>"> <?php echo $row['option2'];?></td></tr>
<tr><td><input required type="radio" name="userans" value="<?php echo
$row['option3'];?>"> <?php echo $row['option3']; ?></td></tr>
<tr><td><input required type="radio" name="userans" value="<?php echo
$row['option4'];?>"> <?php echo $row['option4']; ?><br><br><br></td></tr>
<tr><td><button class="button3" name="click" >Next</button></td></tr> <?php }
?>
<form>
<?php if($_SESSION['clicks']>5){
$qry3 = "SELECT `ans`, `userans` FROM `quiz`;";
$result3 = mysqli_query($con,$qry3);
$storeArray = Array();
while ($row3 = mysqli_fetch_array($result3, MYSQLI_ASSOC)) {
if($row3['ans']==$row3['userans']){
@$_SESSION['score'] += 1 ;
}
}
?>
<h2>Result</h2>
<span>No. of Correct Answer: <?php echo $no = @$_SESSION['score'];
$uname = $_SESSION["uname"];
$no = $no*2;
if($no >= 1 and $no <= 3)
{
$carrier = " You Can Choose For Arts College";
}
elseif($no >3 and $no <= 6)
{
$carrier = " You Can Choose For Arts And Science";
}
elseif($no >6 and $no <= 8)
{
$carrier = " You Can Choose For Engineering";
}
elseif($no >8 and $no <= 10)
{
$carrier = " You Can Choose For Medical Field";
}
// $no*2 ;
session_unset(); ?></span><br>
<span><h2 >Your Score: <?php echo $no;?> </h2><br><h2
style="color:red;"> <?php echo $carrier; ?></h2></span>
<?php } ?>
$txtname = "";
$txtaddress ="";
$txtemail="";
$txtmobile="";
$txtemail="";
$txtdate="";
$id=0;
$edit_state=false;
If(isset($_GET['edit']))
{
$user = $_SESSION["uname"];
$id=$_GET['edit'];
$rec=mysqli_query($con,"select * from registration where username='$user'");
$record=mysqli_fetch_array($rec);
$txtname = $record['name'];
$txtmobile = $record['mobile'];
$txtaddress= $record['address'];
$txtemail = $record['email'];
$txtdate= $record['dob'];
$id=$record['rid'];
}
if(isset($_POST["btncst"]))
{
$txtname = $_POST['txtname'];
$txtmobile = $_POST['txtmobile'];
$txtaddress = $_POST['txtaddress'];
$txtemail = $_POST['txtemail'];
$txtdate = $_POST['txtdate'];
$txtgender = $_POST['txtgender'];
$txtgender = $_POST['txtgender'];
$runquery = "update registration set
name = '$txtname',
address = '$txtaddress',
mobile = '$txtmobile',
email = '$txtemail',
gender = '$txtgender',
dob = '$txtdate'";
if(mysqli_query($con,$runquery))
{
echo "
alert('<div class='alert alert-success'>
<p><br></p><p><br></p><p><br></p>
<a href='#' class='close' data-dismiss='alert'
aria-label='close'>×</a>
<b>Update Success</b>
</div>')
";
}
else
{
echo "
<div class='alert alert-warning'>
<a href='#' class='close' data-dismiss='alert'
arial-label='close'>×</a>
<b>Failed</b>
</div>
";
}
}
$user = $_SESSION["uname"];
$results = mysqli_query($con,"select * from registration where username='$user'");
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Carrier Guidance</title>
<link rel="stylesheet" href="css/bootstrap.min.css"/>
<script src="js/jquery-2.2.2.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/main.js"></script>
</head>
<style>
.subtitle-one {
text-align: left;
font-size: 1rem;
color: #fff;
font-weight: bold;
position: absolute;
top: 36px;
left: 40px;
}
</style>
<body style="background-image:url(images/bg1.jpg);">
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="container-fluid">
<div class="navbar-header">
<img src="images/logo.png" id="logo" style="height:50px;"
style="border:2px solid black;padding: 10px;border-radius: 50%;" alt="Prospective
Employer">
<a href="MasterUser.php" class="navbar-brand"
id="titletext"><span style="font-size:24px;">C</span>arrier <span style="font-
size:24px;">G</span>uidance</a>
</ul>
<ul class="nav navbar-nav navbar-right">
<li><a href="#"><?php echo "Hi ".$_SESSION["uname"]; ?
></a></li>
</ul>
</div>
</div>
<p><br></p>
<p><br></p>
<div class="container-fluid">
<div class="row">
<div class="col-md-12">
<table class="table table-striped table-hover table-bordered">
<thead class="thead-dark">
<tr>
<th>Name</th>
<th>Address</th>
<th>Mobile</th>
<th>Email</th>
<th>Gender</th>
<th>DOB</th>
<th class="text-center">Action</th>
</tr>
</thead>
<tbody>
<?php
while ($row=mysqli_fetch_array($results))
{
?>
<tr>
<td><?php echo $row['name']; ?
></td>
<td><?php echo $row['address']; ?
></td>
<td><?php echo $row['mobile']; ?
></td>
<td><?php echo $row['email']; ?
></td>
<td><?php echo $row['gender']; ?
></td>
<td><?php echo $row['dob']; ?
></td>
<td><a style="text-
decoration:none;padding:2px 5px;color:#0099cc;border-radius:3px;backgroud:#800000;"
href="profileupdate.php?edit=<?php echo $row['rid']; ?>">Show</a></td>
</tr>
<?php
}
?>
</tbody>
</table>
</div>
</div>
<div class="row">
<div class="col-md-12">
<div class="panel panel-info" >
<div class="panel-heading" style="background-
color:#000000;color:#cccccc;">Carrier Guidance - Profile update</div>
<div class="panel-body">
<hr>
<form method="post">
<div class="row">
<div class="col-md-6">
<label for="Name">Name</label>
<input type="text" class="form-
control" id="txtname" name="txtname" value="<?php echo $txtname; ?>">
</div>
<div class="col-md-6">
<label
for="Name">Address</label>
<input type="text"
id="txtaddress" name="txtaddress" class="form-control" value="<?php echo
$txtaddress; ?>">
</div>
</div>
<div class="row">
<div class="col-md-6">
<label
for="Name">Mobile</label>
<input type="text"
id="txtmobile" name="txtmobile" class="form-control" value="<?php echo $txtmobile; ?
>">
</div>
<div class="col-md-6">
<label for="Name">Email</label>
<input type="email"
id="txtemail" name="txtemail" class="form-control" value="<?php echo $txtemail; ?>">
</div>
</div>
<div class="row">
<div class="col-md-6">
<label
for="Name">Gender</label>
<select
name="txtgender" id="txtgender" class="form-control">
<option
value="">Select Gender</option>
<option
value="Male">Male</option>
<option
value="Female">Female</option>
</select>
</div>
<div class="col-md-6">
<label for="Name">Date Of
Birth</label>
<input type="date" id="txtdate"
name="txtdate" class="form-control" value="<?php echo $txtdate; ?>">
</div>
</div>
<p></br></p>
<div class="row">
<div class="col-md-5"> </div>
<div class="col-md-6">
<button id="btncst"
name="btncst" class="btn btn-success">Update Profile</button>
</div>
</div>
</div>
</form>
</div>
<div class="panel-footer" style="background-
color:#000;color:#fff;">© 2024 Carrier Guidance</div>
</div>
</div>
</div>
</div>
</body>
</html>
Registration
<?php
require "Connection.php";
if(isset($_POST["btncst"]))
{
$txtname = $_POST['txtname'];
$txtmobile = $_POST['txtmobile'];
$txtaddress = $_POST['txtaddress'];
$txtemail = $_POST['txtemail'];
$txtdate = $_POST['txtdate'];
$txtusername = $_POST['txtusername'];
$txtpassword = $_POST['txtpassword'];
$role="User";
$txtgender = $_POST['txtgender'];
$runquery = "insert into registration set
name = '$txtname',
address = '$txtaddress',
mobile = '$txtmobile',
email = '$txtemail',
gender = '$txtgender',
dob = '$txtdate',
username = '$txtusername',
password = '$txtpassword'";
if(mysqli_query($con,$runquery))
{
if(mysqli_query($con,$sql1))
{
echo "
alert('<div class='alert alert-success'>
<p><br></p><p><br></p><p><br></p>
<a href='#' class='close' data-dismiss='alert'
aria-label='close'>×</a>
<b>Record Stored Successfully</b>
</div>')
";
}
else
{
echo "
<div class='alert alert-warning'>
<a href='#' class='close' data-dismiss='alert'
arial-label='close'>×</a>
<b>Failed</b>
</div>
";
}
}
}
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Online Carrier Guidance</title>
<link rel="stylesheet" href="css/bootstrap.min.css"/>
<script src="js/jquery-2.2.2.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/main.js"></script>
</head>
<style>
.subtitle-one {
text-align: left;
font-size: 1rem;
color: #fff;
font-weight: bold;
position: absolute;
top: 36px;
left: 20px;
}
</style>
<body style="background-image:url(images/bg1.jpeg);">
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="container-fluid">
<div class="navbar-header">
<img src="images/logo.png" id="logo" style="height:50px;"
style="border:2px solid black;padding: 10px;border-radius: 50%;" alt="Prospective
Employer">
<a href="#" class="navbar-brand" id="titletext"><span
style="font-size:24px;">C</span>arrier <span
style="font-size:24px;">G</span>uidance</a>
<li><a href="login1.php">SignIn</a>
</li>
</ul>
</div>
</div>
<p><br></p>
<p><br></p>
<div class="container-fluid">
<div class="row">
<div class="col-md-12" id="signup_msg"> </div>
</div>
<div class="col-md-2"></div>
<div class="col-md-8">
<div class="panel panel-primary" style="background-color:
#6B8E23;color:#E0FFFF;">
<div class="panel-heading" style="background-
color:#000;color:#ffffff;"><h4 align="center">Carrier Guidance Signup Area</h4></div>
<div class="panel-body">
<form method="post">
<div class="row">
<div class="col-md-6">
<label for="Name">Name</label>
<input type="text" class="form-
control" id="txtname" name="txtname">
</div>
<div class="col-md-6">
<label
for="Name">Address</label>
<input type="text"
id="txtaddress" name="txtaddress" class="form-control">
</div>
</div>
<div class="row">
<div class="col-md-6">
<label
for="Name">Mobile</label>
<input type="text"
id="txtmobile" name="txtmobile" class="form-control">
</div>
<div class="col-md-6">
<label for="Name">Email</label>
<input type="email"
id="txtemail" name="txtemail" class="form-control">
</div>
</div>
<div class="row">
<div class="col-md-6">
<label
for="Name">Gender</label>
<select
name="txtgender" id="txtgender" class="form-control">
<option
value="">Select Gender</option>
<option
value="Seeker">Male</option>
<option
value="Poster">Female</option>
</select>
</div>
<div class="col-md-6">
<label for="Name">Date Of
Birth</label>
<input type="date" id="txtdate"
name="txtdate" class="form-control">
for="Name">Username</label>
<input type="text" class="form-
control" id="txtusername" name="txtusername">
</div>
<div class="col-md-6">
<label
for="Name">Password</label>
<input type="password"
class="form-control" id="txtpassword" name="txtpassword">
</div>
</div>
<p></br></p>
<div class="row">
<div class="col-md-5"> </div>
<div class="col-md-6">
<button id="btncst"
name="btncst" class="btn btn-success btn-lg">Signup</button>
</div>
</div>
</div>
</form>
<div class="panel-footer" style="background-
color:#000000;color:#ffffff;">Online Carrier Guidance</div>
</div>
</div>
<div class="col-md-2"></div>
</div>
</div>
</body>
</html>
6. SYSTEM TESTING
In integration testing modules are combined and tested as a group. Modules are typically code
modules, individual applications, source and destination applications on a network, etc.
Integration Testing follows unit testing and precedes system testing. Testing after the product is
code complete. Betas are often widely distributed or even distributed to the public at large in
hopes that they will buy the final product when it is released.
VALIDATION
Validation is the process of evaluating the final product to check whether the software meets the
customer expectations and requirements. It is a dynamic mechanism of validating and testing the
actual product. Validation is determining if the system complies with the requirements and
performs functions for which it is intended and meets the organization’s goals and user needs.
Validation helps in building the right product as per the customer’s requirement and helps in
satisfying their needs.
UNIT TETSING
The first test in the development process is the unit test. The source code is normally divided into
modules, which in turn are divided into smaller units called units. These units have specific
behavior. The test done on these units of code is called unit test. Unit test depends upon the
language on which the project is developed. Unit tests ensure that each unique path of the project
performs accurately to the documented specifications and contains clearly defined inputs and
expected results.
Test Cases 1
Test Cases 2
Test Cases 4
Test Cases 6
It has been a great experience for me to work in this exciting and challenging project. It also
proves knowledge about the latest technology used in developing web enabled application and
client server technology that will be great demand in future. This will provide better
opportunities and guidance in future in developing projects independently. The package was
designed in such a way that future modifications can be done easily. The following conclusions can be
deduced from the development of the project.
The project has covered almost all the requirements. Further requirements and improvements
can easily be done since the coding is mainly structured or modular in nature. Improvements
can be appended by changing the existing modules. In future this project will be useful for real time
Carrier growth application system with slight modification in the design and also in future this project
can be made mobile based web application.
Bibliography
BOOK REFERENCES
o Felke-Morris, Web Development & Design Foundations with HTML5, 10th Edition,
o Addison-Wesley, 2020.
o Learning PHP,MySQL With jQuery, CSS & HTML5 (Learning PHP, MYSQL,
o PHP & MySQL: Server-side Web Development is the long-awaited book by author
WEBSITES REFERENCES
https://www.tutorialspoint.com/php/php_tutorial.pdf
www.freetechbooks.com
www.slideshare.com
www.w3schools.com
www.programmersheaven.com
www.phpreferencebook.com