Skip to content

Commit 3ef7a6a

Browse files
Create validation.php
1 parent a919b5b commit 3ef7a6a

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

validation.php

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<form id="frm-upload" action="" method="post"
2+
enctype="multipart/form-data">
3+
<div class="form-row">
4+
<div>Choose file:</div>
5+
<div>
6+
<input type="file" class="file-input" name="file-input">
7+
</div>
8+
</div>
9+
10+
<div class="button-row">
11+
<input type="submit" id="btn-submit" name="upload"
12+
value="Upload">
13+
</div>
14+
</form>
15+
<?php if(!empty($response)) { ?>
16+
<div class="response <?php echo $response["type"]; ?>
17+
">
18+
<?php echo $response["message"]; ?>
19+
</div>
20+
<?php }?>

0 commit comments

Comments
 (0)