user input field
<p>how to create the database where allow user to key in the goal time?
Based on the code below, the goal time has been assigned, so i would like to change that code and allow user key in the goal time as input..is it possible to do that? </p>

<pre><code>&lt;?php
$currenttime = date("H:i:s");
$goaltime = "04:10:00";
echo "Current time:$currenttime&lt;br&gt; Goal time: $goaltime&lt;p&gt;";
echo "&lt;meta http-equiv= 'refresh' content='5'&gt;";
if ($currenttime &gt;= $goaltime) {
    echo "&lt;b&gt;Goal has been reached!&lt;/b&gt;";
    echo "&lt;div align=center&gt;&lt;img src=\"images/1.jpg\" alt=\"bla bla\" &gt;&lt;/div&gt;";
} else {
    echo "&lt;div align=center&gt;&lt;img src=\"images/red.jpg\" alt=\"bla bla\" &gt;&lt;/div&gt;";
    echo "Have a nice day!";
}
?&gt;
</code></pre>
