This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<body> | |
<?php | |
echo '<body style="background-color:#383A59; color:white">'; | |
$PATIENTID=$_POST["id"]; | |
$PATIENTNAME=$_POST["name"]; | |
$PATIENTADDRESS=$_POST["address"]; | |
$PATIENTCONTACT=$_POST["contact_number"]; | |
$PATIENTGENDER=$_POST["gender"]; | |
try { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<body> | |
ID <?php echo $_POST["id"]; ?><br> | |
Name <?php echo $_POST["name"]; ?><br> | |
Address <?php echo $_POST["address"]; ?><br> | |
Contact <?php echo $_POST["contact_number"]; ?><br> | |
Gender <?php echo $_POST["gender"]; ?><br> | |
<?php | |
$PATIENTID=$_POST["id"]; | |
$PATIENTNAME=$_POST["name"]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Author : Pachappagari gurunadh | |
-- done: | |
-- Death_Records - | |
-- Visitor - | |
-- Nurse - | |
-- Admit_Room - | |
-- Doctor - | |
-- Emergency_Patient - | |
-- Patient - |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Lab 03 | |
-- creating a table with some attributes | |
create table books | |
(name varchar(30) primary key, | |
ssid varchar(30)); | |
-- add attribute |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Q01 | |
-- a. | |
-- create view doctor_epatient_nurse as | |
-- ( | |
-- select doctor.name as doctor_name, | |
-- doctor.id as doctor_id, | |
-- emergency_patient.id as e_patient_id, | |
-- emergency_patient.name as e_patient_name, | |
-- nurse.id as nurse_id, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- PATIENT TABLE FORMAT (id, name, address, contact_number, gender) | |
INSERT INTO `Patient`(`id`, `name`, `address`,`contact_number`, `gender`) VALUES ('111801001', 'Captain Jack Sparrow', '1-1, Black Pearl Island, Atlantic Ocean', '2715144000', 'male'); | |
INSERT INTO `Patient`(`id`, `name`, `address`,`contact_number`, `gender`) VALUES ('111801003', 'Elizabeth Swann', '34-(90/A) High Land, California', '9752762770', 'female'); | |
INSERT INTO `Patient`(`id`, `name`, `address`,`contact_number`, `gender`) VALUES ('111801002', 'Gellert Grindelwald', '22-121, Maldives, Indian Ocean', '8558134440', 'male'); | |
INSERT INTO `Patient`(`id`, `name`, `address`,`contact_number`, `gender`) VALUES ('111801004', 'Harry Potter', '4, Privet Drive, Little Whinging, Surrey', '7603341062', 'male'); | |
INSERT INTO `Patient`(`id`, `name`, `address`,`contact_number`, `gender`) VALUES ('111801005', 'Ronald Weasley', 'The main, Tree house, Amazon Forest', '8132047892', 'male'); | |
INSERT INTO `Patient`(`id`, `name`, `address`,`contact_number`, `gend |