Professional Documents
Culture Documents
Table of Contents
1.1 Introduction: ........................................................................................................ 5
1.2 Problem Statement: ........................................................................................................................ 5
1.3 Scope of the Project: .................................................................................................................... 5
1.4 Purpose of the Project: ................................................................................................................... 6
5.5 7
Tools and technology used in project ................................................................................................... 7
1.5.1 HTML ...................................................................................................................................... 7
HTML is a language for describing web pages. ................................................................................... 7
1.5.2 Wampserver ............................................................................................................................. 8
1.5.3 PHP .......................................................................................................................................... 9
1.5.4 Mysql ....................................................................................................................................... 9
1.5.5 Java script ................................................................................................................................ 9
1.5.6 Microsoft Office .................................................................................................................... 10
1.5.7 Dream weaver ........................................................................................................................ 10
5.1 Existing System: .................................................................................................................... 12
5.2 Problem of existing system:................................................................................................... 12
Limitations in Existing System: .......................................................................................................... 12
2.2.1 Drawbacks of existing system ............................................................................................... 13
Proposed System:................................................................................................................................ 14
Benefits of proposed system: .............................................................................................................. 15
2.2.2 CMS Web Site is Database Driven: ........................................................................................ 15
2.2.3 Separate design and content: ................................................................................................ 15
2.2.4 Use cascading style sheets (CSS) to control appearance:...................................................... 15
2.2.5 Multiple users: ....................................................................................................................... 15
2.2.6 Access from anywhere:.......................................................................................................... 15
2.2.7 Html knowledge not required: .............................................................................................. 15
2.2.8 Saves time: ............................................................................................................................. 16
2.2.9 Accuracy:................................................................................................................................ 16
2.2.10 Security: ................................................................................................................................. 16
1
Contents
2
Contents
6.4 68
6.5 UPDATE RECORDS QUERIES: ..................................................................... 68
3
Contents
4
List of Table
List of Table
Table 4.1-Announcment.34
Table 4.2-Comments...34
Table 4.3-Content.35
Table 4.4-Members..35
Table 4.5-Message....36
Table 4.7-Settings..37
2
Appendix
Appendix
Screen Shorts:
Home76
Faculty.77
Announcement.77
Result78
Discipline78
Contact us79
List of Figure
ERD.44
DFD Level-047
DFD Level-1(user)48
DFD Level-1(Admin)50
1. Chapter Introduction
1.1 Introduction:
Online Portal refers to the system and processes whereby information is created,
managed, Published, and archived. Information typically passes through this lifecycle for
a finite period of time. A Content management system (CMS) provides the necessary
infrastructure for multiple persons to effectively contribute content and collaborate
throughout these lifecycles.
It also gives as facilitate users with facility of video conferencing by this facility they can
online participate in their class from their homes or from anywhere else in the world.
In this modern area of complex and fast changes in technology, it is an awaited need to
improve our portal online system. It is the basic requirement to provide students and
teachers a reliable source which provides them the required information with ease and in
a faster way.
The scope of this project is to change the Lectures, assignments and results system into
Portal Online system. Its purpose is to maintain online students record about his/her
work like assignments and results. The scope of this system is to collects data,
information and knowledge from direct sources.
The scope of project lies between the users to facilitate and make it possible to take
competitive advantage of getting information without visiting to schools. It involves
following major aspects involving great deal of attention on up gradation and online
record such as:
a) 24 hours Available :
Minimizes time of processing due to no time barrier, in university portal online system
time is reduced. Teachers can publish students result lot earlier than they could have in
case the same thing was required to be done manually following the traditional way.
Maximizes availability allows students to check results and submit assignments at their
convenient time.
b) No Geographical Limitations :
Teachers dont need take the burden of posting the results or assignment topics for
students.
Students can submit assignment and take lectures from any convenient place.
c) No Long Queues :
Students don't need to stand in long queues to get their queries answered.
Students don't need to queue up to know their results.
In the traditional way human error might creep in due to hard work and monotonous
nature of work involving numbers.
Very Accurate and Reliable the process is very accurate and reliable due to limited
human involvement.
1.5 Primary Goals and Objectives of the Project:
The primary goal of the project is to provide cost effective and user friendly system to
facilitate the students of MUST instead of using the existing system. Existing system is
totally manual, based on registers. The objective is to automate the existing system and
follow the computerized system. So, that every person related to the organization can
done their duties efficiently and accurately. We make this system to help the MUST to
build their image and good will.
HTML
Wamp Server
PHP
Mysql
Java script,
Microsoft Office
Dreamweaver
1.5.1 HTML
1.5.2 Wampserver
1.5.2.1 Functionalities:
WampServer's functionalities are very complete and easy to use so we won't explain here
how to use them.
With a left click on WampServer's icon, you will be able to:
Manage your Apache and Mysql services
Switch online/offline (give access to everyone or only local host)
Install and switch Apache, Mysql and PHP releases
Manage your servers settings
Access your logs
Access your settings files
Create alias
With a right click:
- change WampServer's menu language
- access this page
1.5.3 PHP
1.5.4 Mysql
Mysql is a database. The data in Mysql is stored in database objects called tables. A table
is a collection of related data entries and it consists of columns and rows. Databases are
useful when storing information categorically. A company may have a database with the
following tables: "Employees", "Products", "Customers" and "Orders". A database most
often contains one or more tables. Each table is identified by a name (e.g. "Customers" or
"Orders"). Mysql is ideal for both small and large applications. Mysql supports standard
SQL.
Java script is a computer language specially designed to work with internet browsers. It
tells you create small programs called scripts and embed them inside HTML pages to
provide interactive content on your web pages.
Java script is an interpreted language. This means that the script is not compiled before it
is executed. Each java script statement in the script is processed as the browser reads it.
Microsoft word is most frequently used software in the word for purpose of
documentation and printed work. Microsoft Word is the word processing program used
on most computers. With Word, we can create documents and complete a number of
other functions related to word processing. This program has several advantages that can
benefit us. One benefit of using Microsoft Word is that it easily integrates with other
Microsoft Office programs. For example, if we have a spreadsheet that you created on
Microsoft Excel, you can easily paste it into a Word document.
While creating a document, Word also helps us to make sure that it is the best or need
further modifications. When we misspell a word, Microsoft Word will immediately
underline it. We can then click on the word and get suggested spellings. Another
advantages of using Microsoft Word is that it is available practically everywhere. It
provide lots of other facilities such as spelling check, different styles of writing and font
sizes, font color, text alignment, ding pictures, tables, charts, different symbols and
equations and many more.
There are many advantages with using Dreamweaver for designing and maintaining web
sites. It provides split view interface so the user can quickly build a page in the design
view and then improve the html in the coding view. The user may adjust code coloring,
what fonts are used for coding.
The existing system faces some difficulties and problems in the admission. Participants
information about registration, fee & personal information is stored in registers and files
and it is very difficult to maintain these files and registers separately. When
administration needs to get information for some purpose then it is very difficult for them
to search complete information from a large number of registers which are used to save
multiple records.
System is register based so a lot of time required to search any type of record. More
people are required to work for such system. Response time is also slow and maximum
throughput of the system is less.
The existing system takes a lot of time to perform any task. It is very time consuming
system when search any information and record of an individual. The process of editing
and updating specific record becomes very difficult and sometimes it may become
impossible and it takes a lot of time.
As the current system is totally manual, therefore, retrieval and data entry is time
consuming. To find errors or to get any information, all the records have to be searched
one by one.
The manual record keeping is always very difficult. It is very difficult to manage the huge
amount of data manually. In addition, it is difficult to keep the data and information about
the students such as roll no, name, class, admission etc.
Due to manual system many mistakes occur, one record is saved several times in
different registers, therefore, redundancy is a big problem in existing system.
Any unauthorized user can access the data. When information is stored in registers then
any person which is not related can access it and change. In the existing system all data is
stored manually that is not secure but on the other side the user which dont have login
account cant login in the software and cant access the information.
2.2.1.5 No backup:
When data is stored in the registers, Recovery is not possible in case of natural disaster
e.g. earthquake, because there is no backup facility.
In manual system, work load on individual is greater because each person have to
maintain different types of record and carry on many calculations. Thats why work load
on a single person is greater and completion of work in time is difficult.
Current system manages its data manually, due to which a lot of stationary is used. Hence
daily expenses increase.
Due to manual system, many resources are wasted. For example redundant information is
stored in big registers to keep the record but on the other hand computer system cost is
one time that is less in cost than existing system.
Proposed System:
Due to the rapid changes in daily life and in information technologies (IT), there occurs a
need to shape educational institutions parallel with technological innovations. In order to
transfer updated and reconstructed knowledge and make efficient use of IT technologies,
pre-service teachers should use the latest technology for both keeping themselves up-to-
date and transferring what is learned to new generations. Unfortunately, traditional
educational system is not capable of meeting those expectations and there is a need for a
solution to be proposed.
These expectations about how to use new technologies more efficiently in education is an
important option to propose new solutions. One of the solutions which can be helpful for
both students and teachers in an e-learning environment is to use content management
systems. This system facilitates both teachers and students for submission of assignments
providing notes and giving online lectures by video conferencing. To maintain data
security each user should log in with their user name and passwords.
The proposed system will be a faster system. Less time will be required to search, view
update, delete any type of record. The proposed system fulfills the client request quickly.
For example when any type of record is needed less time will be required. So it is a faster
system.
2.2.9 Accuracy:
The system will provide the accurate information needed for decision making it will also
ensure efficient and accurate record keeping. When records are updated then our
proposed system will maintain accuracy of record. For example, Student result will be
compiled by computer so it will give the accurate result.
2.2.10 Security:
The security is the main quality of any application so our proposed system will also
provide the security to protect the data from unauthorized person by using passwords .As
SQL server is used for designing backend so all the request of data are to be inserted in
table to insert, update, delete or view the record from table must be routed through
DBMS engine only. Since there is a single point of control for the data manipulation,
therefore it provides the excellent data security.
The proposed system will provide better mechanism for searching the record. For
example, if we want to search the result of student it provides a proper way to search the
information.
Our proposed system will require the minimum hard work; anyone with a least
knowledge of computer can use this system and produce good result. So our system will
reduce the maximum hard work .Anyone can use this system easily. For example fewer
people are required to manage the organization so it will reduce the hard work.
The system provides an easy interface. This interface provides the method of maximum
selection of information, so anyone has to input last information.
Proposed system will be cost effective because few people will be required to working
efficiently with the help of new system. Once system has been purchased then all time
work is done on the system. So it will be cost effective.
Information stored in computer will be easily modified. For example if a student got
admission we can easily insert, update and delete the record of student. So it will be
easily updated.
2.2.16 Efficiency:
Efficiency of any system is concerned with the minimum transaction processing time as
well as optimal use of system resource .In designing the proposed system, the efficiency
factor has been taken well to consideration .Performance of the system is greatly
enhanced.
2 Chapter:
Feasibility study
Being the first step in the development of existing software is the feasibility study. A
feasibility study is an evaluation of a proposal designed to determine the difficulty in
carrying out a designed task. A Feasibility study is a short, focused study that aims to
answer a number of questions:
With the previous system the maintenance of the security occurred. The data was
entered manually could be changed by anyone. Large amount of money spent still created
the problem of security. It could be changed easily. This system provides solution for this
system. This system includes the security system which can access by only specific users
and will maintain the integrity and security of the data as well.
With the previous system the time savage problem was a great problem. Any data
to be reread by the any user of the organization needed time as large data being entered in
manually. With this system the problem of the problem of the time is solved. Any data
needed to be accessed at any time could be within any time. As time is a key factor to
success.
With the previous system the main disadvantage was that it was not compatible
with the latest technology. Today is an age of science. Every organization wants to get
best result of services provided. With the system organization is able to be in race and be
able to compete with the other organization.
With the previous system to transfer data to another organization was problem.
The data first was of large space already. A lot of work and money was required for that.
With the new system it can be transferred to another organization with no
problem.
Economic analysis is the most frequently used method for evaluation effectiveness of the
proposed system. More commonly known as the cost/benefit analysis, the procedure is to
determine the benefit and saving that are expected from a proposed system and compare
them with cost. If benefit out weight costs then the decision is made to design and
implement the system. Otherwise, further justifications are alterations in the proposed
system will have to be made. The main points considering economical feasibility of our
system are:
With the previous system the problem of saving of pervious data and the latest
information being entered was faced. As in manual system the data kept in register and
large spaced required which increases the average investment spends on the organization.
With our new system our large problem is solved. This system allows handling
data of great size with no problem with small space occupied which shows a great drop in
the price.
The tools that are used for the project development are totally legal.
Operational feasibility depends on human resources available for the project and involves
projecting whether will be operated and used once it is installed. To determine
operational feasibility following criteria has implemented.
Top-level management will easily support because there are so many complexities
resolved by adopting intended system
The new system contains the easy operational keys for entering the data. It helps the staff
to operate easy they entered information.
There will be no performance decline in any way for the organization; rather it will
enhance the capability of the organization.
Our software can be easily expended in future according to user requirements. Any
programmer of language can easily understand our system.
A project will fall if it takes too long to be completed before it is useful. Typically this
mean estimating how long the system will take to develop and if it can be completed in
given time period using some methods like payback period. Schedule feasibility is a
measure of how reasonable the project timetable is. Some projects are initiated with
specific deadlines. You need to determine whether the deadlines are mandatory or
desirable.
Software Requirements
The requirements for the system are the description of services provided by the system
and its optional constraints. These requirements reflect the needs of customer for system
that helps solve some problem such as controlling a device placing an order or finding
information.
Functional requirements are those which involve input, output and processing. These
requirements are regarding to the working of the system. System should be interactive &
easy to navigate through so that user would be able to get the required services with ease.
The functional requirements of the proposed system are following.
Non functional requirement are those requirements which are not directly concerned with
the specific functions delivered by the system. They may relate to emergent system
properties such as reliability response time and store occupancy .They doesnt involves
input, output and processing of system rather these are regarding to the accuracy and
working of the system under design. Following are the non-functional requirements
which are to be fulfilled by the system to make itself a more powerful system:
Maintainability
This portal needs little technical knowledge and needs to have a website that is easy to
maintain and requires minimal updates outside content.
Requirement Priority
System is easy to maintain and update. High
Training should be conducted to ensure staff understands how to use the CMS High
Portability This web application will be viewed from several different platforms and
browsers, so compatibility is crucial. While mobile use may be considered in the future
with the portals, it is not currently a priority.
Requirement Priority
Check cross-browser compatibility (IE 7, IE 8, Firefox, Google Chrome, Safari) High
Downloadable content must be compatible with different platforms (Windows, Mac,
High
Linux)
Scalability The Content Management System (CMS) can handle growing data
storage and servers can handle increasing traffic.
Requirement Priority
This CMS provides database that has the capacity for the potential growth High
Capacity requirements should be checked with host to ensure server scalability Medium
Security A multi-level access system needs to be in place so only admens have full
back-end access.
Requirement priority
Multi-level access for staff (admin, teacher, etc.) High
Password login for portal (student, etc.) High
These requirements involve requirement related to the developer such as required data,
tools and technology required to complete the project.
The software requirements specification is the official statement of what the system
developers should implement. It should include both the user requirements for a system
and detailed specification of the system requirements.
Back-end
o MySQL 5.5.8
Front-end
o PHP 5.3.5
o Dreamweaver CS3
o HTML
Web-Server
o Apache 2.2.17
Operating System
o Windows XP/Windows 8
Browser
o Internet Explorer,
o Chrome
o Firefox
o Maxthon 3
Waterfall Model
There is growing recognition that software, like all complex systems, evolves over a
period of time. Business and product requirements often change as development
proceeds, making a straight path to an end product unrealistic; tight market deadlines
make completion of a comprehensive software product impossible, but a limited version
must be introduced to meet competitive or business pressure; a set of core product or
system requirements is well understood, but the details of product or system extensions
have yet to be defined. In these and similar situations, software engineers need a process
model that has been explicitly designed to accommodate a product that evolves over time.
The linear sequential model is designed for straight-line development.
In general, it is not designed to deliver a production system. The evolutionary nature of
software is not considered in either of these classic software engineering paradigms.
Evolutionary models are iterative. They are characterized in a manner that enables
software engineers to develop increasingly more complete versions of the software.
Requirements
definition
Implementation and
unit testing
Operation and
maintenance
Figure3.1-Waterfall model
4. Chapter
System Design
4 System Design
The design is based on the information obtained during the system analysis. In this phase,
all the processes of proposed system are designed. This is identification that what are the
different processes, how they will be implemented and how they will interact with each
other. The design of the system is the best if it is built precisely according to the analysis
made. It completely satisfies the requirements of the organizations. At this phase we will
design our software completely. Basic design activities include:
Interface design
Database design
Application interface is a source through which user can interact with the system. It also
encompasses the way through which user will input into the system and acquired desired
output from the system. In the interface design we take the interest of the user therefore
our design is user friendly. When making user interface design decisions, you should take
into account the physical and mental capabilities of the people who use software. We
dont have space to discuss human issues in detail here but important factor that you
should consider are:
Interface Design
Logo
Members login
Username:
Announcements
Sliders Password:
Content
Database is a collection of data items or entities with some logical relationship among
them. An entity is a person, a thing or an event about which an organization desire to
collect and maintain the information. The purpose of database is to store the information
that is used by the system.
Table 4.1-Announcements
Table 4.2-Comments
Table 4.3-content
Table 4.4-members
Table 4.5-Messages
Table 4.7-Settings
Table 4.8-Student.Records
The process of mapping the conceptual data model to structure data specified to the target
DBMS. If the target environment is a relational DBMS, then the conceptual data model
are mapped to normalized relation. Relations formed according to entity relationship
diagram.
Member.id semester
Annou.id
title
discipline
Announcements
description
Date post
session photo
Comment.id
status
Comment
Comments
email
name
announcements
metadesc Page id
image name
Content
description title
Roll No
Member id Users
Email Password
Phone
Level
Members
Semester
Full name
Session
Type
Discipline
Status Designation
name title
msgid
Description
Date post
Messages From
Too
Member id
Status1
status
Id Image url
Pic path
Fav icon
Email Site url
Setting Settings id
Phone
Meta Desc
Title
Footer
S. record id
Subject
Discipline
Description
Semester Member
Session id
Type
Upload
file
Teacher id
Mem-id
Title
Tec Record
Date
post
Description
Discipline
Semester
Session
The process of mapping the database structure from logical design into physical storage
structures such as files and tables. A major objective of physical design is to provide
adequate performance for user application in term of response time, through rates and so
on. Also physical design is concerned, backup recovery and normalized database tables.
ERD
Records
Made
has
Announcements
Teachers
Upload
View Assignments
Students Manage
Admin
Communicate Results
Download
Message
s
A data flow diagram (DFD) is a graphical representation of the "flow" of data through an
information system. DFDs can also be used for the visualization of data processing
(structured design). On a DFD, data items flow from an external data source or an
internal data store to an internal data store or an external data link, via an internal process.
In design phase the analysis of the system is first done so far. For this purpose structured
approach is used and analysis is done by using tool like DFD for easy understanding of
user. For this purpose different levels of data flow diagram are adopted and relation
between the working of administrator, user and system are drawn graphically with the
help of diagrams. DFD completely shows the structure of organization and system.
Here the rectangle shows the input/output signal, circle shows the processes, arrowhead
shows the flow of data. Following levels of a DFD are maintained.
1. DFD level 0
2. DFD level 1
The context diagram shows the entire system as a single process, and gives no clues as to
its internal organization. This level shows the overall context of the system and its
operating environment and shows the whole system as just one process. It does not
usually show data stores, unless they are "owned" by external systems, e.g. are accessed
by but not maintained by this system, however, these are often shown as external entities.
DFD Level-1
DFD Level-1 shows interaction between user and system, it describes all the actions perform by
the user with data. It shows where data stores and where it comes from. User send any request
and system gives some results.
DFD Level-0
Discipline displayed
Message sent
2.0
Displayed/Added Displayed/Added Comments
Comments
3.0
Content Displayed Content Displayed Content
Content
User
6.0
Successful/Error Successful/Error Picture path
Picture path
DFD LEVEL-1(Admin)
2.0
Added/edited/deleted comments Added/edited/deleted Comments
Comments
3.0
Added/edited/deleted content Added/edited/deleted Content
Content
Admin
6.0
Successful/Error Successful/Error Picture path
Picture path
6.1Chapter 5
6.2SYSTEM TESTING
5.1 Introduction:
In the software engineering context, testing is regarded as quality assurance activity.
Its aim is to verify/ensure compliance of the software component under test with stated
requirements.
There are two main categories of testing: static & dynamic. Static testing techniques
include desk checking, walkthroughs, inspections & compiling. Dynamic testing
comprises both white box & black box testing techniques.
All the non-functional requirements of the system were checked & all the problems &
Black box testing techniques comprise equivalence partitioning, boundary value analysis,
logic-based testing, & data validation testing.
In White box testing, the system was tested where knowledge of the internals was used to
test.
White box testing technique comprises basic path testing, graph matrices & loop testing.
Graph matrices, in the form of connection matrices, are generated by flow analyzers.
Loop testing is specifically for loops & is used as a supplementary measure.
Stress Testing
Stress testing is done to ensure that the system meets the requirements even in full
production mode & in more than typical production scenarios.
Identification
The identification of this test case is 1
Actor
Admin
Test Item
To test the input made for registration of user
Input specifications
Numeric value in first name
Output specification
Error message, please enter alphabetic value
Environmental needs
PHP & Html
Special procedural requirement
No special procedure is required
Identification
The identification of this test case is 2
Actor
Admin
Test Item
To test the input made for registration of user
Input specifications
Two character long username
Output specification
Error message, User name should not be less then 3
Environmental needs
PHP & Html
Special procedural requirement
No special procedure is required
Inter-case dependencies
No one
Identification
The identification of this test case is 3
Actor
Admin
Test Item
To test the input made for registration of user
Input specifications
Email address without @ sign
Output specification
Error message, please enter correct email address
Environmental needs
PHP & Html
Special procedural requirement
No special procedure is required
Inter-case dependencies
No one
Identification
The identification of this test case is 4
Actor
User
Test Item
Members Login
Input specifications
Email & password
Output specification
Login Successful
Environmental needs
PHP & Html
Special procedural requirement
No special procedure is required
Inter-case dependencies
No one
Identification
The identification of this test case is 5
Actor
User
Test Item
Profile button in menu item
Input specifications
Login & Mouse click on Profile button
Output specification
Profile is opened/Login First to access
Environmental needs
PHP & Html
Special procedural requirement
No special procedure is required
Inter-case dependencies
No one
Identification
The identification of this test case is 6
Actor
User
Test Item
Faculty button in menu item
Input specifications
Mouse click on faculty button
Output specification
List of faculty is displayed
Environmental needs
PHP & Html
Special procedural requirement
No special procedure is required
Inter-case dependencies
No one
Identification
The identification of this test case is 7
Actor
User
Test Item
Announcements Button in menu item
Input specifications
Mouse click on announcements
Output specification
Recent announcements should open
Environmental needs
PHP & Html
Special procedural requirement
No special procedure is required
Inter-case dependencies
No one
Identification
The identification of this test case is 8
Actor
User
Test Item
To view the result of particular student
Input specifications
Enter roll no of student
Output specification
Result record is viewed
Environmental needs
PHP & Html
Special procedural requirement
No special procedure is required
Inter-case dependencies
No one
Identification
The identification of this test case is 9
Actor
Admin
Test Item
To register new user
Input specifications
Fill the registration form and click on register button
Output specification
User register successfully
Environmental needs
Identification
The identification of this test case is 10
Actor
Admin
Test Item
Add new student record
Input specifications
Fill the form and click on save button
Output specification
Student record added
Environmental needs
PHP & Html
Special procedural requirement
No special procedure is required
Inter-case dependencies
No one
Identification
The identification of this test case is 11
Actor
Admin
Test Item
To edit particular record
Input specifications
Edit particular record field
Output specification
Record edit successfully
Environmental needs
PHP & Html
Special procedural requirement
No special procedure is required
Inter-case dependencies
No one
Identification
The identification of this test case is 12
Actor
Admin
Test Item
To add result record of student
Input specifications
Enter subject vise result and click on save button
Output specification
Result save
Environmental needs
PHP & Html
Special procedural requirement
No special procedure is required
Inter-case dependencies
No one
Identification
The identification of this test case is 15
Actor
User
Test Item
To test the logout button
Input specifications
Mouse click on logout button
Output specification
Logout successfully
Environmental needs
PHP & Html
Special procedural requirement
No special procedure is required
Inter-case dependencies
No one
6. Chapter
Implementation
$row_pages = mysql_fetch_assoc($pages);
$totalRows_pages = mysql_num_rows($pages);
$row_media = mysql_fetch_assoc($media);
$totalRows_media = mysql_num_rows($media);
mysql_select_db($database_cmsmust, $cmsmust);
$row_teachersrecord = mysql_fetch_assoc($teachersrecord);
$totalRows_teachersrecord = mysql_num_rows($teachersrecord);
$row_studentsrecord = mysql_fetch_assoc($studentsrecord);
$totalRows_studentsrecord = mysql_num_rows($studentsrecord);
$row_settings = mysql_fetch_assoc($settings);
$totalRows_settings = mysql_num_rows($settings);
$row_announcements = mysql_fetch_assoc($announcements);
$row_activemember = mysql_fetch_assoc($activemember);
$totalRows_activemember = mysql_num_rows($activemember);
GetSQLValueString($_POST['users'], "text"),
GetSQLValueString($_POST['passs'], "text"),
GetSQLValueString($_POST['level'], "int"),
GetSQLValueString($_POST['fullname'], "text"),
GetSQLValueString($_POST['email'], "text"),
GetSQLValueString($_POST['phone'], "text"),
GetSQLValueString($_POST['department'], "text"),
GetSQLValueString($filename, "text"),
GetSQLValueString($_POST['interest'], "text"),
GetSQLValueString($_POST['subject'], "text"),
GetSQLValueString($_POST['type'], "text"),
GetSQLValueString($_POST['status'], "text"));
mysql_select_db($database_cmsmust, $cmsmust);
$insertSQL = sprintf("INSERT INTO content (name, title, `description`) VALUES (%s, %s, %s)",
GetSQLValueString($_POST['name'], "text"),
GetSQLValueString($_POST['title'], "text"),
GetSQLValueString($_POST['description'], "text"));
mysql_select_db($database_cmsmust, $cmsmust);
GetSQLValueString($_POST['title'], "text"),
GetSQLValueString($_POST['description'], "text"),
GetSQLValueString($_POST['fileupload'], "text"),
GetSQLValueString($_POST['datepost'], "text"),
GetSQLValueString($_POST['discipline'], "text"),
GetSQLValueString($_POST['session'], "text"),
GetSQLValueString($_POST['semester'], "text"),
GetSQLValueString($_POST['subject'], "text"),
GetSQLValueString($_POST['type'], "text"),
GetSQLValueString($_POST['memberid'], "int"),
GetSQLValueString($_POST['trecordsid'], "int"));
mysql_select_db($database_cmsmust, $cmsmust);
6.4
6.5 UPDATE RECORDS QUERIES:
GetSQLValueString($_POST['title'], "text"),
GetSQLValueString($_POST['description'], "text"),
GetSQLValueString($_POST['fileupload'], "text"),
GetSQLValueString($_POST['datepost'], "text"),
GetSQLValueString($_POST['discipline'], "text"),
GetSQLValueString($_POST['session'], "text"),
GetSQLValueString($_POST['semester'], "text"),
GetSQLValueString($_POST['subject'], "text"),
GetSQLValueString($_POST['type'], "text"),
GetSQLValueString($_POST['memberid'], "int"),
GetSQLValueString($_POST['trecordsid'], "int"));
mysql_select_db($database_cmsmust, $cmsmust);
GetSQLValueString($_POST['title'], "text"),
GetSQLValueString($_POST['description'], "text"),
GetSQLValueString($_POST['fileupload'], "text"),
GetSQLValueString($_POST['datepost'], "text"),
GetSQLValueString($_POST['discipline'], "text"),
GetSQLValueString($_POST['session'], "text"),
GetSQLValueString($_POST['semester'], "text"),
GetSQLValueString($_POST['subject'], "text"),
GetSQLValueString($_POST['type'], "text"),
GetSQLValueString($_POST['memberid'], "int"),
GetSQLValueString($_POST['trecordsid'], "int"));
mysql_select_db($database_cmsmust, $cmsmust);
GetSQLValueString($_POST['name'], "text"),
GetSQLValueString($_POST['title'], "text"),
GetSQLValueString($_POST['description'], "text"),
GetSQLValueString($_POST['pageid'], "int"));
mysql_select_db($database_cmsmust, $cmsmust);
Appendix
Screen Shots
Home
Faculty
Announcements
Results
Disciplines
Contact Us
References
2010.