Answers for "if else statement post php"

PHP
2

if post php

if($_SERVER['REQUEST_METHOD'] == 'POST') {}
Posted by: Guest on May-10-2021
8

php if else

<?php
if ($a > $b) {
    echo "a is bigger than b";
} elseif ($a == $b) {
    echo "a is equal to b";
} else {
    echo "a is smaller than b";
}
?>
Posted by: Guest on April-23-2020

Browse Popular Code Answers by Language