Hello guys,
I don’t have a lot of experience with PHP and MYSQL. I need some help with my school project. Can you just give me a hint how should i start it!
I have the following task. I have to create a sample university website, where the students should be able to register and log in and then access the campus information and bulletin after they log in, which shouldn’t be visible before student authentication.
It has to be done with PHP and MySQL. So, my idea is to create a table in my database Campus
user_id, username, password, first_name, last_name, registration_date, active (to activate account after confirmation)
And then my problem is how to allocate the bulletin file and the campus information only for the logged in users? How do i place these files in my site directories or at the database, so that they will be visible only after the user logs in? Do i have to create another table for the campus_info.html and bulletin.html?
Any help will be deeply appreciated!
Thanks!