Hi.
So basically,
When your login is succeeded, It should add some variables to database. (for online users) values are (username, ip, habbo.com/habbo-imaging/avatarimage?user=USERNAMEHERE&direction=3 etc.
But When I post variables, I get this error:
You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '::1,
The SQL:
So basically,
When your login is succeeded, It should add some variables to database. (for online users) values are (username, ip, habbo.com/habbo-imaging/avatarimage?user=USERNAMEHERE&direction=3 etc.
But When I post variables, I get this error:
You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '::1,
You must be registered for see links
' at line 1The SQL:
Code:
$sql1 = "INSERT INTO `shop_online` (`name`, `ip`, `avatarurl`) VALUES ($username, $ip, https://www.habbo.com.tr/habbo-imaging/avatarimage?user=$username&direction=3&head_direction=2&gesture=sml&action=wav&size=l&headonly=true')";