Skip to content

Instantly share code, notes, and snippets.

@danilowm
Created February 1, 2012 20:02
Show Gist options
  • Select an option

  • Save danilowm/1719010 to your computer and use it in GitHub Desktop.

Select an option

Save danilowm/1719010 to your computer and use it in GitHub Desktop.
If de uma linha PHP
<?php
if( $sexo == "Masculino" ) {
echo "Você é homem";
}
else {
echo "Você é mulher";
}
?>
@lucianobragaweb
Copy link

Legal!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment