changed the syntax in the register form

This commit is contained in:
hayden 2019-07-04 18:31:30 -05:00
parent a8fa39751f
commit f2f286f0d4
1 changed files with 6 additions and 8 deletions

View File

@ -116,14 +116,12 @@ display_header("~chan - register");
</table> </table>
<br> <br>
<button type="Submit">submit</button> <button type="Submit">submit</button>
<?php <?php if(isset($_GET['error'])): ?>
if(isset($_GET['error'])) { <br><br>
echo "<br><br>"; <div class="error">
echo "<div class=\"error\">"; <?php echo htmlspecialchars($_GET['error']); ?>
echo htmlspecialchars($_GET['error']); </div>
echo "</div>"; <?php endif; ?>
}
?>
</form> </form>
</div> </div>
<?php <?php