Question
Using mvc model , codeignter and php, create a login page that only allows username and password from sql table. the table is called customers
Using mvc model , codeignter and php, create a login page that only allows username and password from sql table. the table is called customers and has variables as user and password. if user has correctly logged in redirect user to shop/item if not back to login. if user has logged in and types in url shop it must take the user to item and not back to login page. however if user has not logged in and you type shop in url then it must take user to login back. also if username = administrator take user to view (searchRestock) and if username = guest take user to view (search). both url must be shop/item.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started