I have a form which is used to edit records in a mysql database via php. The fields are successfully pulled from the database and inserted in the form, i edit the fields as required, however when i press submit, nothing happens, i have a feeling there is a silly syntax error in my form code as no php errors are displayed:
Code:
echo '<form action="edit_record.php" method="post">
<p>Created By: <input type="text" disabled="disabled" name="created_by" size="15" maxlength="15" value="' . $row[0] . '" /></p>
<p>Start Time: <input type="text" name="start_time" size="30" maxlength="20" value="' . $row[1] . '" /></p>
<p>End Time: <input type="text" name="end_time" size="30" maxlength="20" value="' . $row[2] . '" /> </p>
<p>Description:<br /> <textarea rows="6" cols="40" name="description">' . $row[3] . '</textarea> </p>
<p>Status: <select name="status" id="status" Value="' . $row[4] . '">
<option>Open</option>
<option>Work in Progress</option>
<option>Cancelled</option>
<option>Closed</option>
</select>
</p>
<p>Assigned to: <input type="text" disabled="disabled" name="assigned_to" size="15" maxlength="15" value="' . $row[5] . '" /></p>
<p><input type="submit" name="submit" value="Submit" /></p>
<input type="hidden" name="submitted" value="TRUE" />
<input type="hidden" name="id" value="' . $id . '" />
</form>';