changed the syntax in the register form
This commit is contained in:
parent
a8fa39751f
commit
f2f286f0d4
14
register.php
14
register.php
|
@ -116,14 +116,12 @@ display_header("~chan - register");
|
|||
</table>
|
||||
<br>
|
||||
<button type="Submit">submit</button>
|
||||
<?php
|
||||
if(isset($_GET['error'])) {
|
||||
echo "<br><br>";
|
||||
echo "<div class=\"error\">";
|
||||
echo htmlspecialchars($_GET['error']);
|
||||
echo "</div>";
|
||||
}
|
||||
?>
|
||||
<?php if(isset($_GET['error'])): ?>
|
||||
<br><br>
|
||||
<div class="error">
|
||||
<?php echo htmlspecialchars($_GET['error']); ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</form>
|
||||
</div>
|
||||
<?php
|
||||
|
|
Loading…
Reference in New Issue