Skip to content

Instantly share code, notes, and snippets.

View sjoulbak's full-sized avatar

Remco Meinen sjoulbak

View GitHub Profile
include'./mysql_config.php';
$check_position=mysqli_query($con, "SELECT `position` FROM `playerdata` WHERE ID = '".$unique_id."'");
$fetch_position=mysqli_fetch_assoc($check_position);
The value of position in the playerdata table is: 1|2|3
I want that the result is:
$x=1;
&y=2;
// ==UserScript==
// @include http://nl*.tribalwars.nl/game.php*
// @include http://nl*.tribalwars.nl/public_report/*
// @include http://zz*.tribalwars.net/game.php*
// @include http://zz*.tribalwars.net/public_report/*
// @name TBR Map
// @version 3.2.28
// @namespace http://tbrmap.twscripters.wyk.nl/
// @description TBR Map v3.2.26 voor Tribalwars.nl / beta.tribalwars.net
// ==/UserScript==
def do_i_win my_choice, your_choice
if my_choice == 'rock' and your_choice == 'scissors'
return true
elsif my_choice == 'paper' and your_choice == 'rock'
return true
elsif my_choice == 'scissors' and your_choice == 'paper'
return true
end
return false
end
module SeoMeta
module ExtraInstanceMethods
def attributes
seo_meta_attributes.merge(super)
end
def attributes_equals(attributes, *args)
seo_meta_attributes.merge(attributes)
super
end