Is there any way to shorten this code ?
<?= isset($email)?$email:''; ?>
I feel it's kind of stupid to repeat $email. I've tried
<?= isset($email)?:''; ?>
But it echoes the boolean coming from isset instead.
<?= isset($email)?$email:''; ?> // is the shortest way to do it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With