alejandroangulo32
New Member
- Messages
 - 4
 
- Reaction score
 - 0
 
- Points
 - 0
 
I wanted to create a simple CMS but I'm not sure how to start off. I've started working on the MySQL database. All I have right now is a table titled posts.
Here's the output of describe posts;
	
	
	
		
I was wondering if this was a good way to start off my database. What other tables will I have to create? I plan on creating a user system, but for now I want to create a barebones CMS.
I can figure out how to write the PHP on my own, but I'm not sure about the MySQL.
I'm not planning on using a WYSIWYG editor, instead I'll just write files by hand and insert them into the database. I was also wondering how I should handle images? Should I just create a directory for them, or insert them into the database, or insert links in the database to the path of the actual image?
I hope I'm not asking for too much. I don't need to have my hand held, I'd just like a push in the right direction.
Thanks in advance.
			
			Here's the output of describe posts;
		Code:
	
	+-----------+-------------+------+-----+-------------------+-----------------------------+
| Field     | Type        | Null | Key | Default           | Extra                       |
+-----------+-------------+------+-----+-------------------+-----------------------------+
| id        | int(11)     | NO   | PRI | NULL              | auto_increment              |
| title     | varchar(80) | YES  |     | Untitled          |                             |
| author    | varchar(50) | YES  |     | Anonymous         |                             |
| content   | text        | NO   |     | NULL              |                             |
| timestamp | timestamp   | NO   |     | CURRENT_TIMESTAMP | on update CURRENT_TIMESTAMP |
+-----------+-------------+------+-----+-------------------+-----------------------------+
	I was wondering if this was a good way to start off my database. What other tables will I have to create? I plan on creating a user system, but for now I want to create a barebones CMS.
I can figure out how to write the PHP on my own, but I'm not sure about the MySQL.
I'm not planning on using a WYSIWYG editor, instead I'll just write files by hand and insert them into the database. I was also wondering how I should handle images? Should I just create a directory for them, or insert them into the database, or insert links in the database to the path of the actual image?
I hope I'm not asking for too much. I don't need to have my hand held, I'd just like a push in the right direction.
Thanks in advance.