Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $type = $_GET["type"];
- switch ($type) {
- case "shoutout":
- $where = "type='Shoutout' AND";
- break;
- case "competition":
- $where = "type='Competition' AND";
- break;
- case "all":
- $where = "";
- break;
- default:
- $where = "type='Request' AND";
- break;
- }
- $get = mysql_query("SELECT * FROM request WHERE $where deleted != 'yes' ORDER BY id DESC");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement