<?
//Connection settings
$connection[1] = "localhost"; //Ip
$connection[2] = "root"; //Username
$connection[3] = "password"; //Password
$connection[4] = "ot"; //Database
$x = 100;
$y = 100;
$z = 100;
mysql_connect($connection[1], $connection[2], $connection[3]) or die(mysql_error());
mysql_select_db($connection[4]) or die(mysql_error());
mysql_query("UPDATE `players` SET `posx`='$x'") or die(mysql_error());
mysql_query("UPDATE `players` SET `posy`='$y'") or die(mysql_error());
mysql_query("UPDATE `players` SET `posz`='$z'") or die(mysql_error());
?>