Part of code:
echo "<form method ='post' action='NextFile.cgi'>";
echo "<table>";
echo "<tr><td>Date: </td></td> <input type='date' name='Date' value =".$record['Date']." autofocus required='required'
/></td></tr>";
echo "<tr><td>Time: </td></td> <input type='time' name='Time' value=".$record['Time']." autofocus required='required'
/></td></tr>";
echo "</table>";
echo "<input type='submit' name='submitname' value='Save' />";
echo "</form>";
$record
is related to the mysql query.
When running the code in a web browser: The two input boxes are displayed side by side. Below are the characters />
Below is 'Date:' Below is 'Time:'
I am trying to alter the code so that 'Date:' is beside the Date input box, and the same for Time below. Any help with the correct code for this is a great help!
Aucun commentaire:
Enregistrer un commentaire