I know it's a lot of things, but does anyone of you know a guide/tutorial to do this. I've searched the web for 1-2 hours, but it's really hard for me to come up with the right keywords.
- thanks in advance
Moderator: General Moderators
What you are describing is absolutely doable in PHP. I will admit, it is quite an ambitious project for a beginner, but there is only 1 way to learn.Fonis wrote:Okay, so i learned some about login/register. But what if i want to make the website like anyone can see all the content, but only people who's logged in can write some new? Should i just for example make a button named "write content" that links to a part of the website that only people that are logged in can visit? And how can i then make a textfield that will post to a certain part of the site?
Code: Select all
<?php
# Psuedo-Code
if($user->logged_in()) {
print $button;
}
?>