Convert php array to quiz format
How can I convert the below array to look like a quiz question format:

    Array
(
    [content] => Array
        (
            [@attributes] => Array
                (
                    [id] => 20
                )

            [quest] => <FONT FACE="Arial">If K represents kinetic energy, V velocity and T time and these are chosed as the fundamental units then , the
unit of surface tension will be</FONT>
            [opt1] => <FONT FACE="Arial"><img src="Images/Phys1/XLA840.gif" WIDTH=56 HEIGHT=18 align="absmiddle"></FONT>
            [opt2] => <FONT FACE="Arial"><img src="Images/Phys1/XLB840.gif" WIDTH=58 HEIGHT=18 align="absmiddle"></FONT>
            [opt3] => <FONT FACE="Arial"><img src="Images/Phys1/XLC840.gif" WIDTH=62 HEIGHT=18 align="absmiddle"></FONT>
            [opt4] => <FONT FACE="Arial"><img src="Images/Phys1/XLD840.gif" WIDTH=58 HEIGHT=18 align="absmiddle"></FONT>
            [ans] => a
            [ans_desc] => <FONT FACE="Arial"><P><img src="Images/Phys1/XLAD840.gif" WIDTH=157 HEIGHT=22 align="absmiddle"></P>
<P><img src="Images/Phys1/XLAD841.gif" WIDTH=312 HEIGHT=44 align="absmiddle"></P>
<P><img src="Images/Phys1/XLAD842.gif" WIDTH=160 HEIGHT=44 align="absmiddle"></P>
<P><img src="Images/Phys1/XLAD843.gif" WIDTH=74 HEIGHT=22 align="absmiddle"></P>
</FONT>
        )

)

Format 
Question
Option1
Option2
Option3
Option4
<submit button>
Convert php array to quiz format
===

How can I convert the below array to look like a quiz question format:

    Array
(
    [content] => Array
        (
            [@attributes] => Array
                (
                    [id] => 20
                )

            [quest] => <FONT FACE="Arial">If K represents kinetic energy, V velocity and T time and these are chosed as the fundamental units then , the
unit of surface tension will be</FONT>
            [opt1] => <FONT FACE="Arial"><img src="Images/Phys1/XLA840.gif" WIDTH=56 HEIGHT=18 align="absmiddle"></FONT>
            [opt2] => <FONT FACE="Arial"><img src="Images/Phys1/XLB840.gif" WIDTH=58 HEIGHT=18 align="absmiddle"></FONT>
            [opt3] => <FONT FACE="Arial"><img src="Images/Phys1/XLC840.gif" WIDTH=62 HEIGHT=18 align="absmiddle"></FONT>
            [opt4] => <FONT FACE="Arial"><img src="Images/Phys1/XLD840.gif" WIDTH=58 HEIGHT=18 align="absmiddle"></FONT>
            [ans] => a
            [ans_desc] => <FONT FACE="Arial"><P><img src="Images/Phys1/XLAD840.gif" WIDTH=157 HEIGHT=22 align="absmiddle"></P>
<P><img src="Images/Phys1/XLAD841.gif" WIDTH=312 HEIGHT=44 align="absmiddle"></P>
<P><img src="Images/Phys1/XLAD842.gif" WIDTH=160 HEIGHT=44 align="absmiddle"></P>
<P><img src="Images/Phys1/XLAD843.gif" WIDTH=74 HEIGHT=22 align="absmiddle"></P>
</FONT>
        )

)

Format 
Question
Option1
Option2
Option3
Option4
<submit button>