This commit is contained in:
LeviM0323 committed 2026-03-06 21:27:16 -05:00
1 parent 1fdfbb1b4f
commit 41ebd4ac62
21 files changed
+1018 -43

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
<?php
// empty().
// isset().
// is_numeric().
if (
!empty($_POST['grade']) &&
isset($_POST['grade']) &&
is_numeric($_POST['grade'])
) {
$grade = $_POST['grade'];
print_r($grade);
}
else {
echo 'Grade not provided and/or was not numeric!';
}
// Strip Tags.
$text = 'Hello <b><em>world!</em></b>';
echo $text;
echo strip_tags($text);