nope, still get an error.
This is the code I've got now...
<?php
$addname = $_GET['name'];
$db = mysql_connect("localhost", mydbusername, mydbpass);
$sql = "INSERT INTO table_2 ( playername , wins , draws , losses , deadline , points , division ) VALUES ('$addname', '0', '0', '0', '0', '0', '0')";
$sql2 = "DELETE FROM `table_1` WHERE `username` = \'$addname\';"
$result = mysql_query($sql, $sql2, $db);
$number = mysql_num_rows ($result);
?>
Parse error: parse error, unexpected T_VARIABLE on line 6 (removed the comments just to test they weren't the problem)