diff --git a/Connect.php b/Connect.php
index d82d890..330657d 100644
--- a/Connect.php
+++ b/Connect.php
@@ -1,23 +1,23 @@
connect_error) {
- die("Database Connection failed: " . $conn->connect_error);
-}
-// else
-// {
+try {
+ $dbh = new PDO($dsn, $user, $password);
-// echo "Connected";
-// }
-session_start();
\ No newline at end of file
+ }
+catch (PDOException $e) {
+ echo 'connexion has failed : ' . $e->getMessage();
+}
+ $stmt = $dbh->query("SELECT * FROM course_students_table");
+ while ($row = $stmt->fetch()) {
+ $tablel_user[] = $row['Student_ID']."
\n";
+}
+session_start();
diff --git a/README.md b/README.md
index bcf29d3..b4e5cfd 100644
--- a/README.md
+++ b/README.md
@@ -41,7 +41,6 @@ these bugs.
-
# The Bug Tracker
We use Bugzilla to track LRR's bugs and feature requests.
@@ -123,12 +122,13 @@ To submit bug reports or improvement ideas, please ask Hui [lanhui at zjnu.edu.c
Check FAQ.md (TBA) for details.
-
# The Original GitHub Repo
The original GitHub Repo is at https://github.com/EngMohamedNor/LabReportRepo
+
+
# Contributor List
@@ -140,7 +140,6 @@ WhyteAsamoah - Yeboah Martha Asamoah - 201732120135
xiaoyusoil - ZhengXiaoyu - 201732120110
-
Benny123-cell - ZhangBin - 201732120127
421281726 - LiJiaxing - 201732120118
@@ -156,5 +155,10 @@ Richard1427 - XieJiacong - 201732120123
yutengYing - YingYuteng - 201732120126
Samrusike - Samantha Rusike - 201632120140
+
Teecloudy - Ashly Tafadzwa Dhani - 201632120150
+ngounou92 - ngounou bernard - 201925800180
+
+pipafrica - mohamed moumou - 201925800178
+>>>>>>> 8f7191061de9c185b0e7ee9db30d712b75a55479
diff --git a/UserDoc.md b/UserDoc.md
new file mode 100644
index 0000000..116a301
--- /dev/null
+++ b/UserDoc.md
@@ -0,0 +1,36 @@
+LRR User Documentation
+======================
+
+
+Resetting password
+-------------------
+
+We can reset a user's password by directly modifying the MySQL database table called `users_table`. More specifically, we delete that user's information from `users_table` so that the user could sign up again. Suppose the user's student number is 201131129138.
+
+To do so, LRR administrator logs in to MySQL using the following command: `mysql -u username -p`. Type the correct password to access the MySQL database.
+
+After that, issue the following commands in the mysql prompt.
+
+- `use lrr;`
+
+- `delete from users_table where Student_ID="201131129138";`
+
+The first one uses a database called lrr in MySQL. The second one deletes a record from `users_table` where the student number is 201131129138.
+
+
+Joining by using course name or course
+--------------------------------------
+
+In this section we are going to present what we did on the course page to allowed the users(students) to find the course and join that course using the course name/course code.
+we have created a new page with some links (home, course, disabled).those links will help the users to navigate through the other pages of LRRS.
+
+we have use the lrr database especially the courses_table that store different courses information.
+
+You can have a look on our new code source (home.php, connect.php, verif-form.php,connect.php) for more details.
+
+we have not yet associated our page with other pages(script.php) of LRRS because this page is quite different to other pages.
+
+ have a look on our user guide file(user guide file) to see some screenshots of our page.
+
+
+*Last modified on 1 June 2020 by Hui*
diff --git a/home.php b/home.php
new file mode 100644
index 0000000..255d885
--- /dev/null
+++ b/home.php
@@ -0,0 +1,164 @@
+
+
+
+
a new Version for a better future !
+ + + + + + + + + + +
+
+
+ | Course Name | Faculty | Course Code | URL |
|---|---|---|---|
| =$d['Course_Name']?> | =$d['Faculty']?> | =$d['Course_Code']?> | Link |
| Find Courses Area | |||
| =$d['Course_Name']?> | =$d['Faculty']?> | =$d['Course_Code']?> | Link |
| Find Courses Area | |||