PHP According to table the in the image 1. (Assume that the following program section (Program Code 1) are variables that receives input from the user via a form. Build program code to provide instructions for entering the data into the assessments table. In addition, next build a link to view the data that has been entered.) php include ('config.php'); $ matrixnum = $_POST['matrixnum']; $ subject_code = $_POST['subject_code ']; $ quiz = $_POST['quiz']; $ assignment = $_POST['assignment']; $ project = $_POST['project']; $ total_marks= $_POST['total_marks']; $ grade = $_POST['grade']; Code program 1 2.(Based on the program section (Code Program 1), assume that the data wants to be updated by the user. Build program code to provide instructions for updating the data to the assessments table. In addition, build a link to view the updated data.)
PHP
According to table the in the image
1. (Assume that the following program section (Program Code 1) are variables that receives input from the user via a form. Build program code to provide instructions for entering the data into the assessments table. In addition, next build a link to view the data that has been entered.)
<?php
include ('config.php');
$ matrixnum = $_POST['matrixnum'];
$ subject_code = $_POST['subject_code '];
$ quiz = $_POST['quiz'];
$ assignment = $_POST['assignment'];
$ project = $_POST['project'];
$ total_marks= $_POST['total_marks'];
$ grade = $_POST['grade'];
Code program 1
2.(Based on the program section (Code Program 1), assume that the data wants to be updated by the user. Build program code to provide instructions for updating the data to the assessments table. In addition, build a link to view the updated data.)
Step by step
Solved in 2 steps