Table Member

This table represant the members of the system for example users participating in the system.

MemberID is the primary key of the table uniquly identifying each member.
MemberName stores the names of the members table.
memberEmail stores the emails of the members Table.

Primary key PK - MemberID
no Foreign key FK

Table Group
This table represant the different groups of the system for example groups used to allow many to many relationships between the members and the group table.

GroupID is the primary key of the table uniquly identifying each member.
GroupName stores the Groupnames of the table.
GroupDescription stores the Description of the Group Table.

Primary key PK - GroupID
no Foreign key FK

Table MemberGroup

This table represant the different groups of the system for example groups used to allow many to many relationships between the members and the group table.

GroupID is the foregin key FK referencing to Group table.
MemberID is the foregin key FK referencing to Member table.
JoiningDate this Field stores date when the member joined the group.

No Primary key PK
Composite key consisting of MemberID and GroupID
Foreign key FK are
GroupID (references Group table)
MemberID (references Member table)

"; /* Define the path to the image file on the C drive $imagePath = 'C:\\xampp\\htdocs\\img\\task1b.jpg'; // Make sure to use double backslashes for the path // Check if the file exists if (file_exists($imagePath)) { // Get the file extension to set the correct content type $fileInfo = pathinfo($imagePath); $extension = strtolower($fileInfo['extension']); // Set the content type header based on the file extension switch ($extension) { case 'jpg': case 'jpeg': header('Content-Type: image/jpeg'); break; case 'png': header('Content-Type: image/png'); break; case 'gif': header('Content-Type: image/gif'); break; default: die('Unsupported file type.'); } // Read the image file and send the content to the browser readfile($imagePath); } else { echo "Image not found."; } */ ?>