Displaying outlines and paragraphs from MySql database

A

Anonymous

Guest
I want to display an outline with indentations and with paragraphs below some of the outline headings. I have the file set up in Word and can convert to Excel and then to a csv file. How do I make indentations and separate paragraphs appear on a PHP paginated results page when the results page contains MySql retrieved data?
 
Here is a little better explanation.

I want to display an outline with indentations and with paragraphs below some of the outline headings. I have the file set up in Word and can convert to Excel and then to a csv file to be transfered into MySql. Paragraph marks in a csv file indicate a new record which I do not want. I want indentations and paragraphs to appeear from within each record if necessary.

How do I make indentations and separate paragraphs appear on a PHP paginated results page when the results page data only comes from MySql retrieved data? Is there a way to make this happen in the csv file?
 
I don't know what paragraph marks ? Is is it \r\n\r\n
You can either use a PRE tag and just output with \t s or spacess..
or use tables
 
Here is how I have found a way to resolve this issue. The resolution centers on php recognizing html tags which php does. I use Front Page 2000 and I set up a mock outline in Front Page. When the following html tags are passed through php from a csv file, php recognizes these tags and sets up an outline based upon the html appearing in the MySql document.

Here is the html for an indented outline.

<p>I. Line one<br>
    A. Line sub one<br>
    B. Line sub two<br>
        1. Line sub sub one<br>
        2. Line sub sub two<br>
II. Line two<br>
    A. Line sub one<br>
    B. Line sub two<br>
        1. Line sub sub one<br>
        2. Line sub sub two<br>
III. Line three<br>
    A. Line sub one<br>
    B. Line sub two<br>
        1. Line sub sub one<br>
        2. Line sub sub two<br>
</p>

I cannot imagine how this issue has not come up before but at least for archival purposes others now have an answer.
 
Back
Top