Organization db for blog posts with Mysql and Php : <p>I intend to write a blog for life stories. I will post my photos and text and share it with other people. At the very beginning there was a question, how to organize a database?
I'm going to do so in the article would be a photo and text.
While there is an option in my head - for each article - to make a new table, but I don’t know, are they doing this?
But here I also have a question. Photos for one day can be 30 pieces, and maybe 0. There is an option to attach photos to the text, or vice versa, but I do not know how to be more literate. By this, I can not start work.
I have to say that this is my first site, I will use mySQL + PHP.</p>

<p>My try is this</p>

<pre><code>id int(11)
user_id int(11)
datecreated timestamp 
dateupdated timestamp
content text
title varchar(255)
h1 varchar(255)
</code></pre>

<p>But what about the images?</p>

<p>Thank you very much</p>
