The design of my webpage would be first a login page followed by add member, delete member, and update member. Can someone please give some suggestions for the design or the structure? THX
Here is the problem I have got:
Initially, I was planning to write all pages in one php file, and use the if-else function to determind which page they should read.
Therefore, firstly if the $username and $pwd are empty then they will go to the login page. And after they finish entering the username and password then they will see the add-members page.
However, after they enter a new member's data, then press "add". The borwser will go back to the login page since the $username and $pwd is empty again.
Secondly, I plan to seperate the "loggin page" and "other pages" to different php files, but it makes people can directly access to "other pages" if they know the URL.
What can I do........