Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / NewStats: 3,195,533 members, 7,958,638 topics. Date: Wednesday, 25 September 2024 at 07:20 PM |
Nairaland Forum / Codedreamer's Profile / Codedreamer's Posts
(1) (of 1 pages)
Programming / Re: The Hardest Topic You Encountered While Learning Any Programming Language? by Codedreamer: 11:00pm On Nov 27, 2020 |
digitalgeorgy:Use this link https://www.tutorialrepublic.com/php-tutorial/ Try to build a login/logout system. |
Travel / Any International Scholarship Beneficiary On Here? by Codedreamer: 7:59pm On Nov 25, 2020 |
Hello nairalanders. Is there anyone on here who is a beneficiary of an international scholarship for post graduate studies OR do you know anyone who is a beneficiary. Please we would like to hear your story. Tell us how you got your scholarship so that aspirants can learn. Thanks. |
Programming / Re: PHP Help - How Can I Allow Only Admin To Access A Page? by Codedreamer: 6:57pm On Nov 22, 2020 |
Karleb:Thanks very much for the help. |
Programming / Re: PHP Help - How Can I Allow Only Admin To Access A Page? by Codedreamer: 6:30pm On Nov 22, 2020 |
Karleb:Thanks for your reply. That means all my dashboard.php HTML codes will have to be inside a condition and they will all be echoed. Currently, they are written in plain HTML. I'm still learning! If (condition) { echo " all HTML codes "; } else { echo " Only admin can access this page"; } |
Programming / Re: PHP Help - How Can I Allow Only Admin To Access A Page? by Codedreamer: 6:26pm On Nov 22, 2020 |
404Dev:Thanks for your reply. From your write-up, it seems i will have to write all my dashboard.php contents inside a condition. Currently, all my dashboard.php HTML codes are written in plain HTML (can i write plain html inside a php condition) or Do I have to echo them all. For example: if ($_SESSION['username'] == $admin) { echo "all dashboard HTML code"; } else { redirect to another page } |
Programming / Re: Pls Tech Gurus..i Dont Understand What Apis Mean In Javascript.. Help! by Codedreamer: 6:01pm On Nov 22, 2020 |
API means Application Programming Interface. It allows you to interact with another software from your own software. For example, if you integrate google map API in your website, you will be able to display google map in your site. Another example - if you want to create a website that displays lists of all foods on earth, you do not need to type all the foods in your code. All you have to do is to integrate with an API software that has all lists of foods and loop through them in your code. 9 Likes |
Programming / PHP Help - How Can I Allow Only Admin To Access A Page? by Codedreamer: 4:47pm On Nov 22, 2020 |
Hello coders! I am currently developing a Student Management System using PHP and MySql where an admin (principal) can log in to the dashboard to manage accounts of students and staffs, update results, add new student, etc. Students can also log in to view their profile and results. I have been able to create the dashboard and student login system using session , but the problem is If a user goes to 'dashboard.php', they will be able to view all the dashboard settings, I want only the admin to be able to view this page. Please how can I achieve this. |
Celebrities / Re: Omah Lay: 'This Time Last Year, I Didn't Know People Would Ever Hear My Songs' by Codedreamer: 10:30pm On Nov 20, 2020 |
MrAnele:How do you market your service sir? |
Religion / Re: Laurie Idahosa: Breast Cancer Killed My Grandmothers by Codedreamer: 1:38pm On Oct 31, 2020 |
Thank God for her life. Prayer works! Contact me for your website design! 1 Like |
Programming / Re: Experienced Wordpress Designer Needed In Port Harcourt by Codedreamer: 4:08pm On Sep 25, 2020 |
I am available for remote works. Thanks. |
(1) (of 1 pages)
(Go Up)
Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health religion celebs tv-movies music-radio literature webmasters programming techmarket Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 16 |