Storing php articles in databse

General discussions related to php

Moderators: macek, egami, gesf

joker850
New php-forum User
New php-forum User
Posts: 4
Joined: Fri Mar 28, 2014 11:40 am

Storing php articles in databse

Postby joker850 » Fri Mar 28, 2014 11:45 am

I am trying to create a dynamic news site where people can write and post articles. However I'm not quite sure how and where to actually store the articles. Ideally what I would like to do is input the articles in a database but if the article is 1000 words long I'm not quite how it would be stored. So an example of the table could be: ID, Name, Article, Date, Time. Any ideas?

adicooldude
New php-forum User
New php-forum User
Posts: 10
Joined: Mon Apr 07, 2014 2:26 am

Re: Storing php articles in databse

Postby adicooldude » Mon Apr 07, 2014 3:23 am

hi,
you can't store the article content in database if its > 1000 , you need to save those articles physically and save the path of the article in database.


Return to “PHP General”

Who is online

Users browsing this forum: No registered users and 1 guest