Created
February 1, 2012 20:10
-
-
Save danilowm/1719041 to your computer and use it in GitHub Desktop.
If de uma linha PHP
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| // Se existir $_GET['nome'] retorna o valor, senão, retorna vazio | |
| $nome = isset($_GET['nome']) ? $_GET['nome'] : ''; | |
| $email = isset($_GET['email']) ? $_GET['email'] : ''; | |
| $mensagem = isset($_GET['mensagem']) ? $_GET['mensagem'] : ''; | |
| echo $nome.'<br/>'.$email.'<br/>'.$mensagem; | |
| ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment