Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account



Photo

Super Basic CMS help!

- - - - -

  • Please log in to reply
No replies to this topic

#1
Elmh

Elmh
  • Member
  • 1 posts
  • Joined 17-April 13
  • OS:Windows 7 x64
  • Country: Country Flag
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:
1 id tinyint(3) UNSIGNED AUTO_INCREMENT PRIMARY
2 rubrik tinytext utf8_swedish_ci
3 text longtext utf8_swedish_ci
4 bild blob
5 timestamp timestamp CURRENT_TIMESTAMP

Edited by Elmh, 17 April 2013 - 06:41 AM.



How to remove advertisement from MSFN



0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users