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
Get step-by-step solutions from verified subject matter experts
