Alright, so I've been toying around with the Steam Web API, I have one of the values stored in a variable called $steam64
. When I use this code snipper to INSERT it into a mysql database it insert a completley different integer than what is stored in the variable.
$sql_query = "INSERT INTO users_info (steam64) VALUES ('$steam64')";
var_dump($steam64);
returns the real int, so does echoing it. Not too sure what is going on here, any help is appreciated.
2147483647
is being inserted,76561197989628470
is being dumped, column type is int(255). – SelfsustainingVALUES ($steam64)
still inserts the wrong int. – Selfsustaining