As an excerise I am trying to create a basic PHP blog.
Creating the user login system was pretty straightforward, and I've 2 mySQL tables, one with user information, and one with the blog information (and with a foreign key referencing the user id).
However, I'm stuck for what to do next. Searches online don't seem to walk me through what I am after. Would somebody be able to point me vaguely in the right direction, such as what I should be looking into?
Basically, one method to populate a page with content that looked promising was using forms. User clicks a button (desguised with CSS as a link), which passes along the blog id to. BUT, I don't see how that method would work if I wanted a permalink to a particular blog post, since accessing the form action php would return invalid since the form hasn't been submitted yet.
Most blog sites seem to have url's without filenames at the end. I.e., blog.com/page ... How do they do this? Does that 'link' somehow submit data to the action form php, which is then used to display the content?
As you can see I'm a bit confused and a beginner with PHP, but hoping someone can help. Daniweb hasn't let me down yet!
Thanks in advance.