Skip to content

Instantly share code, notes, and snippets.

@rcstr
Last active December 19, 2015 01:58
Show Gist options
  • Save rcstr/5879375 to your computer and use it in GitHub Desktop.
Save rcstr/5879375 to your computer and use it in GitHub Desktop.
<?php
if(isset($_GET['item']) && trim($_GET['item']) != '') {
// realizo funciones para mostrar el elemento/item
} else {
// muestro el contenido de el index
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment