Skip to content

Instantly share code, notes, and snippets.

@eqdw
Created February 23, 2012 18:39
Show Gist options
  • Save eqdw/1894268 to your computer and use it in GitHub Desktop.
Save eqdw/1894268 to your computer and use it in GitHub Desktop.
CS STUDENTS? Y U NO ESCAPE PARAMS
<?php
// Get team ID from url
$teamID = $_GET["team"];
// - SQL Queries
// Get university and team name
$query = "SELECT * FROM `delegations` WHERE delegID = " . $teamID;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment