first commit
This commit is contained in:
14
Suli/13.b/Backend/2024. 09. 26/szomegadas_vizsgalas.php
Normal file
14
Suli/13.b/Backend/2024. 09. 26/szomegadas_vizsgalas.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
if (!isset($_POST["megadott-szo"])) {
|
||||
include "szomegadas.php";
|
||||
}
|
||||
|
||||
else if (isset($_POST["megadott-szo"]) && strpos(haystack: $_POST["megadott-szo"], needle: ' ')) {
|
||||
include "szomegadas.php";
|
||||
echo "Helytelen szószerkezet!";
|
||||
}
|
||||
|
||||
else {
|
||||
include "szokitalalas.php";
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user