I need assistance with radio button in php
<p>I am trying to make it so that when I select on a certain radio button it will change the font in the textbox where the user will enter words. How do I make it so it will change the font when I select a specific radio button?</p>

<pre><code>&lt;!DOCTYPE html&gt;
&lt;!--
    To change this license header, choose License Headers in Project Properties.
    To change this template file, choose Tools | Templates
    and open the template in the editor.
    --&gt;
&lt;html&gt;

&lt;head&gt;
  &lt;title&gt;Funky Font Message&lt;/title&gt;
  &lt;link href="font.css" rel="stylesheet" type="text/css"&gt; &lt;/head&gt;
&lt;div id="pageContainer"&gt;
  &lt;form&gt;
    &lt;h2&gt;Please select a font and enter a message:&lt;/h2&gt;
    &lt;br&gt;
    &lt;input type="radio" name="font" value="ChunkRed"&gt; Chunk Red
    &lt;input type="radio" name="font" value="DecoBlue" checked&gt; Deco Blue
    &lt;input type="radio" name="font" value="Animals"&gt; Animals
    &lt;input type="radio" name="font" value="ElegantRed"&gt; Elegant Red
    &lt;input type="radio" name="font" value="Funky"&gt; Funky
    &lt;input type="radio" name="font" value="TapePunch"&gt; TapePunch
    &lt;br&gt;
    &lt;br&gt;
    &lt;input type="text" name="message" required size="50" value="The Quick Brown Fox Jumps Over the Lazy Dog" autofocus&gt;
    &lt;input type="submit" value="Send"&gt;
    &lt;br&gt;
    &lt;br&gt;
    &lt;?php if (!empty($_GET[ 'message'])) { $message=$ _GET[ 'message']; for ($i=0 ; $i &lt; strlen($message); ++$i) { $char=substr($message, $i, 1); if ($char !=" " ) { echo "&lt;img src='/sandvig/Images/Alphabet/deco/blue/{$char}1.gif'&gt;\n" ; } else { echo "&lt;br /&gt;\n"; } } } ?&gt; &lt;/form&gt;
&lt;/div&gt;

&lt;body&gt;

&lt;/html&gt;
</code></pre>