Page 1 of 1

You have to design a university website. Suppose your database name is “university” and one of the relation in the unive

Posted: Fri May 20, 2022 11:39 am
by answerhappygod
You have to design a university website. Suppose your database
name is “university” and one of the relation in the university
database is “instructor”. The attribute of the “instructor” table
is “id”, “name”, “department”, and “salary”. Here, you have to
create an about function in aboutController class that can take the
parameter “id” from route named “/about/{id}” and retrieve the data
from database table “instructor” of that specific id using
appropriate model. Then you have to display the id, name,
department, and salary in “about.blade.php” view script of that
specific id which must be located in resources/views folder. Design
the appropriate command line command, route, controller, and view
part for this system.
Please write CODE in PHP