Echoing " in a text box

If I fetched an array from MySQL, how do I replace all " with " ? It’s not so easy to loop through the non-integer indexed array cells…


    [0] => http://threadless.com/blogs/blogs
    [startPage] => http://threadless.com/blogs/blogs
    [1] => http://www.threadless.com
    [linkStructure] => http://www.threadless.com
    [2] => /selected" href="\/blogs\/page,[0-9]+">[0-9,]+<\/a>[\s]+<a class="pagea " href="(.*?)"/
    [nextPageOfThreads] => /selected" href="\/blogs\/page,[0-9]+">[0-9,]+<\/a>[\s]+<a class="pagea " href="(.*?)"/
    [3] => /selected" href=".+">[0-9,]+<\/a>[\s]+<a class="pagea " href="(.*?)">/
    [nextPageOfPosts] => /selected" href=".+">[0-9,]+<\/a>[\s]+<a class="pagea " href="(.*?)">/
    [4] => /<a class="forum_title" href="(.*?)"><img/
    [threadUrl] => /<a class="forum_title" href="(.*?)"><img/
    [5] => /class="forum_comment">(.*?)<\/div>/
    [threadNumPosts] => /class="forum_comment">(.*?)<\/div>/
    [6] => //
    [threadNumViews] => //
    [7] => /class="forum_title_margin">[
][	]*<a class="forum_title" href=".*">(.*?)<\/a>/
    [threadTitle] => /class="forum_title_margin">[
][	]*<a class="forum_title" href=".*">(.*?)<\/a>/
    [8] => /&nbsp;[
][	]*[a-zA-Z]{3} [0-9]{2} \'[0-9]{2} by[\s][
][	]*[
][	]*<a .*">(.*?)<\/a>/
    [firstPostAuthor] => /&nbsp;[
][	]*[a-zA-Z]{3} [0-9]{2} \'[0-9]{2} by[\s][
][	]*[
][	]*<a .*">(.*?)<\/a>/
    [9] => /&nbsp;[
][	]*([a-zA-Z]{3} [0-9]{2} \'[0-9]{2}) by/
    [firstPostTime] => /&nbsp;[
][	]*([a-zA-Z]{3} [0-9]{2} \'[0-9]{2}) by/
    [10] => /<div class="blogs_body">[
][	]*(.*?)[	]*<\/div>/s
    [firstPostMessage] => /<div class="blogs_body">[
][	]*(.*?)[	]*<\/div>/s
    [11] => /">(.*?)<\/a> on [a-zA-Z]{3} [0-9]{2} \'[0-9]{2} at [0-9]{1}:[0-9]{2}[ampm]{2}[\s][	]*[
]/
    [replyAuthor] => /">(.*?)<\/a> on [a-zA-Z]{3} [0-9]{2} \'[0-9]{2} at [0-9]{1}:[0-9]{2}[ampm]{2}[\s][	]*[
]/
    [12] => /<\/a> on ([a-zA-Z]{3} [0-9]{2} '[0-9]{2} at [0-9]{1}:[0-9]{2}[ampm]{2})[\s][	]*[
]/
    [replyTime] => /<\/a> on ([a-zA-Z]{3} [0-9]{2} '[0-9]{2} at [0-9]{1}:[0-9]{2}[ampm]{2})[\s][	]*[
]/
    [13] => /class="comment_body">(.*?)<\/div>/s
    [replyMessage] => /class="comment_body">(.*?)<\/div>/s
    [14] => 0
    [id] => 0