Welcome to MSFN

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.

Sign in to follow this  
Followers 0

Super Basic CMS help!

1 post in this topic

Hi there!

I'm very new to PHP and everything that there is to it, but very eager to learn. I'm trying to do a very basic CMS(basicly all I'm trying to do is a way for me to add new posts to my blog without having to code anything, just new posts, I do not desire to change anything else via my "CMS"). Anyway, here's my issue(MySQL, btw!):

I have a form. I want this form to add new rows in my table called "content". Which method should my form use?

Also, what should I tell my database in order for my form to add into the row what is written into my inputs?

Thirdly, how do I later call upon the content in the table to be used as a blog bost?

This is the table:


2 rubrik tinytext utf8_swedish_ci

3 text longtext utf8_swedish_ci

4 bild blob

5 timestamp timestamp CURRENT_TIMESTAMP

Edited by Elmh

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.