Permalink
Browse files

oops

  • Loading branch information...
mukunda- committed Jul 11, 2014
1 parent 2ceff24 commit 35da5453a2de2fcefba041e4136867239d85c594
Showing with 1 addition and 1 deletion.
  1. +1 −1 register.php
View
@@ -68,7 +68,7 @@ function GetServerInfo() {
// register new server
$game = $sql->real_escape_string( $game );
$sql->safequery( "INSERT INTO SERVERS (NAME,GAME) VALUES ('$param', '$game')" );
$sql->safequery( "SELECT LAST_INSERT_ID()" );
$result = $sql->safequery( "SELECT LAST_INSERT_ID()" );
$row = $result->fetch_assoc();
$server_id = $row['LAST_INSERT_ID()'];

0 comments on commit 35da545

Please sign in to comment.