https://github.com/medsagou/makrsmangement-php
https://github.com/medsagou/makrsmangement-php
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/medsagou/makrsmangement-php
- Owner: medsagou
- Created: 2022-08-21T18:50:09.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-08-21T19:59:16.000Z (almost 3 years ago)
- Last Synced: 2025-01-03T19:26:58.079Z (6 months ago)
- Language: PHP
- Size: 85 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SAGOU MOHAMED - Manage students marks - project to improve (first version)
This is a project from my.
## Table of contents
- [Overview](#overview)
- [The challenge](#the-challenge)
- [Screenshot](#screenshot)
- [Links](#links)
- [My process](#my-process)
- [Built with](#built-with)
- [What I learned](#what-i-learned)
- [Continued development](#continued-development)
- [Useful resources](#useful-resources)
- [Author](#author)
- [Acknowledgments](#acknowledgments)## Overview
### The challenge
About the project:
- A student may enroll more than one suject.
- A teacher could teach more than one subject
- A subject can be affected to more than one teacher for different classes
- We need to keep trach of each student's mark
- Create, Read, interfaces for:
- Students
- Subjects
- Teachers
- Marks### Screenshot


### Links
## My process
### Built with
- php
- html
- css
- bootstrap### What I learned
```php
'1', 'first_name' => 'Mohamed', 'last_name' => 'Sagou', 'gender' => 'M','date_of_birth' => '10/01/2002', 'marks'=>['Arabic'=>[7,2],'English'=> [8,3], 'French' => [5,1], 'Mathematics'=> [3,2]]],
['student_id' => '2', 'first_name' => 'Zakaria', 'last_name' => 'Samori', 'gender' => 'M','date_of_birth' => '10/03/2001', 'marks'=>['Arabic'=> [4,3] ,'English'=> [8,4], 'French' => [5,4], 'Mathematics'=> [4, 1]]],
['student_id' => '3', 'first_name' => 'Fatiha', 'last_name' => 'Nahri', 'gender' => 'F','date_of_birth' => '10/08/2000', 'marks'=>['Arabic'=> [10,2], 'English'=> [8,3], 'French' => [5,1], 'Mathematics'=> [9,2]]],
['student_id' => '4', 'first_name' => 'Fatima', 'last_name' => 'Mouiden', 'gender' => 'F','date_of_birth' => '04/11/1999', 'marks'=>['Arabic'=> [6,3] ,'English'=> [9,4], 'French' => [10,4], 'Mathematics'=> [8, 1]]],
];
?>$marks_teacher_id){
if($marks_teacher_id[1] == $teacher_id){
array_push($student_to_show, $student['student_id'].', '.$subject.': '.$marks_teacher_id[0]);
}
}
}
$container =[];
foreach($student_to_show as $student){
$student_show_array = [];
$student_array = explode(", ", $student);
$student_show_array['student_id'] = $student_array[0];
$student_show_array['marks'] = $student_array[1];
array_push($container, $student_show_array);
}$main_subject_container = [];
foreach($container as $student){
$subject = explode(': ',$student['marks']);
if($subject[0] == $subject_name){
array_push($main_subject_container, $student);
}
}} ?>
';
echo 'Subject Name : '.$subject_name.'
';
echo 'Student marks of the teacher :
';
// echo 'Student marks >>'; to marks pages
?>
Full Name: '.$marks_data[(int) $student['student_id'] - 1]['first_name'].' '.$marks_data[(int) $student['student_id'] - 1]['last_name'].'
'.'Subjects Marks: '.$student['marks'].'
';
} ?>```
### Continued development
Im very motivated to learn sql so I can complet this project.
### Continued development
My first project with menu, Im so glad for finishing this work. Specialy the mobile version with the side menu on the right.
### Useful resources
- [W3schools](https://www.w3schools.com/) - This helped me for javaScript eventListener. I really liked this pattern and will use it going forward.
- [stackoverflow](https://stackoverflow.com/) - this website help me on the javascript when i get stuck.
## Author- Website - [Mohamed Sagou](https://github.com/medsagou)
- Frontend Mentor - [@medsagou](https://www.frontendmentor.io/profile/medsagou)
- Twitter - [@sagoumohamed](https://www.twitter.com/sagoumohamed)## Acknowledgments
nothing for this project.