This commit is contained in:
2026-03-06 21:27:16 -05:00
parent 1fdfbb1b4f
commit 41ebd4ac62
21 changed files with 1018 additions and 43 deletions
+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);