Here is the code I have on the page:

http://www.codingclick.com/source/article.phps

Basically, You can see that anything beforethe first | is a title after it is a chapter. And after the second | is the content.

Basically, since my page is split up into many pages using explode, i would like to know how to grab the titles of all the pages and display them in a text box.

Also, if there are chapters defined in the article, then I only want the chapters listed in the select box.

Does anyone know the code for this?