Okay, I've figured out how to put all data into an array of some sort:
$sql = "SELECT * FROM books";
$result = mysql_query($sql);
while($row = mysql_fetch_assoc($result)){
$book_titles .= $row['book_titles'] . "<br>";
}
I added the .= and it seems to be working find.
Except for one thing, I can't seem to get any <br> in the rtf document.
The rtf document shows the results as this:
Tom Sawyer<br>How to kill a mockingbird<br>The Jury
Any thoughts on how to take out the <br> tags, but be able make them work?