> Learning PHP and need help?

Learning PHP and need help?

Posted at: 2014-12-18 
if you learn PHP you'll need a free web server like XAMPP for tests

free video demos here:

http://w3-video.com/Web_Tools/XAMPP/inde...

Each news article is stored in a database. The database table will contain a structure similar if not like this:

ID, article, author, date.

So, instead of having to rewrite the entire front-end for every single news article, programmers just write the User Interface once and the data contained is dependent on which article ID gets called. So, the article in this link will be whichever article with ID=2 . If you change the number you will notice that the inner content will change but not the entire page. Try changing pageid=2 to pageid=1 or pageid=3 and you'll get the point.

Each page is its own file. Thus, pageid=2 or 3, or 4, etc.

When I'm browsing some webpages i see urls with an example of www.welcome.com/new?pageid=2, how can i do this? like if you have a news page with multiple stories and you want to have a story open in a different page but on the same file how do i do this?