Answers for "ternary operator structure program"

0

ternary operator structure program

1
2
3
4
5
6
7
8
<?php
if(isset($_POST['submit']))
{
$name = isset($_POST['name']) ? $_POST['name'] : null;
$email = isset($_POST['email']) ? $_POST['email'] : null;
 
}
?>
Posted by: Guest on January-05-2022

Browse Popular Code Answers by Language