Skip to content

Instantly share code, notes, and snippets.

@biojazzard
Created November 18, 2015 12:51
Show Gist options
  • Save biojazzard/c89eaecac732f4d5b770 to your computer and use it in GitHub Desktop.
Save biojazzard/c89eaecac732f4d5b770 to your computer and use it in GitHub Desktop.
Jade PHP if include syntax
- $fs = _fs('galdetu');
- if ($input->urlSegment1 == 'colaboraciones-lankidetzat') :
- include('./inc/form-contact-simple.php')
- else :
- include('./inc/form-contact-big.php')
- endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment