I am a beginner, I did some dynamic pages in PHP using MySQL. My database has fields referencing images stored in my folder. For short description, titles and other web contents I am able to display them in a dynamic table based on filter criteria, so on and so forth. My little problem is, I really wanted to create pages like "Newspaper Web Sites" where contents are long and almost taking the whole page. I can't imagine having to store these contents in a field in a table in a database. How is it attained? One time I had a serious thought of storing html page reference in the table as record e.g. "news_1.htm", the same principle I used for my image reference where the code runs like this:
"<img src="images/<?php echo $row_Project_Data['ImageRef']; ?>". This uses image placeholders to make relative referencing, whilst I really can't work out on long texts. I've been a cheat looking at news web site's status panels and source codes but to no avail. Looking at the panel you'll see the ref "news.php?id=1&story=2" in which I cant figure out if the contents are stored in a database.
Please help me.
Last edited by fdelix; 12-23-04 at 05:46.
Reason: Title not Eye-Catching
You mean it is really stored in the database? over 100 words, or multiple paragraphs? I found out that the display of record in the dynamic page is in a single paragraph only, despite having created a new line feed for succeeding paragraph. The field type I am using is longtext which I understand can hold large size contents. By the way I am using DW as my editor.