PHP Article Site

by 2 replies
3
Hi...I'm trying to understand how this site works. I like the idea of how each page includes the "informative articles" that change each time the page is refreshed and most importantly how these links stay on the site unlike RSS feeds which would take a visitor off the site. Is it that this site contains a huge database of articles? Or is this some sort of package program? I really have no idea.

I can't post the link because I haven't posted enough posts yet but to see what I'm talking about go to pcmajstor dot com.

Any insight would be greatly appreciated!!!

Thanks!
#programming #article #php #site
  • The site is using PHP (programming language) and including the "informative articles block" is very doable in any dynamic programming language in php. A programmer can just write a block of code that will pull all articles from the database which are related to an article.

    There's a lot of possible ways someone could have set that site up but I bet they have a database.
    • [1] reply
    • I am using random pages to display different articles or ads with php includes. I am limiting it to about 8 articles. This simply means I create 8 different articles and using random command to display them. For huge amount of articles, then you will require to make use of database to store and call on demand.

Next Topics on Trending Feed

  • 3

    Hi...I'm trying to understand how this site works. I like the idea of how each page includes the "informative articles" that change each time the page is refreshed and most importantly how these links stay on the site unlike RSS feeds which would take a visitor off the site. Is it that this site contains a huge database of articles? Or is this some sort of package program? I really have no idea. I can't post the link because I haven't posted enough posts yet but to see what I'm talking about go to pcmajstor dot com.