Results 1 to 3 of 3
  1. #1
    Join Date
    Oct 2003
    Location
    Hong Kong
    Posts
    13

    Unanswered: Please HELP!!! - PHP & MySQL

    Hello everyone!

    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

  2. #2
    Join Date
    Mar 2003
    Location
    The Bottom of The Barrel
    Posts
    6,102
    Provided Answers: 1
    What's wrong with storing the info in a field?
    oh yeah... documentation... I have heard of that.

    *** What Do You Want In The MS Access Forum? ***

  3. #3
    Join Date
    Oct 2003
    Location
    Hong Kong
    Posts
    13
    Dear Teddy,

    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.

    Thanks again and expecting for your help.

    Felix

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •