PHP coding question?

Posted by tag on Stack Overflow See other posts from Stack Overflow or by tag
Published on 2010-03-19T08:29:47Z Indexed on 2010/03/19 8:31 UTC
Read the original article Hit count: 240

Filed under:

Does the following code below do the same thing and if so which one is better when coding? And is there a name for when PHP code is missing curly brackets?

The PHP code.

<?php if (isset($_POST['email'])) { echo $_POST['email']; }?>
<?php if (isset($_POST['email'])) echo $_POST['email'];?>

© Stack Overflow or respective owner

Related posts about php