diff options
Diffstat (limited to 'mysql-php/text/a4.typ')
-rw-r--r-- | mysql-php/text/a4.typ | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/mysql-php/text/a4.typ b/mysql-php/text/a4.typ new file mode 100644 index 0000000..ec5d8e6 --- /dev/null +++ b/mysql-php/text/a4.typ @@ -0,0 +1,17 @@ +#import "/tpl.typ": * +#show: A => apply(A) +#set raw(lang: "php") +#set par(leading: 0.7em) + +#assignment(4)[ + Create an HTML form to input employee salary components such as Basic Pay, House Rent Allowance (HRA) percentage, Dearness Allowance (DA) percentage, and Professional Tax. Upon submission, the PHP script should calculate the HRA, DA, and Professional Tax for each employee based on the provided percentages and store these details in a database table named `Salary`. Ensure that records in the `Salary` table contain entries only for employee names and basic pay. Finally, display the stored salary records including employee names, basic pay, calculated HRA, DA, and Professional Tax. +] + +#scos(4, cont: true)[ + === Login form + #image("/output/4/1.png", width: 60%) + === Display records + #image("/output/4/2.png", width: 80%) +] + +#signature() |