php
Data from RobloxData from Roblox
if($name!=NULL && $age != NULL){
$con->query("INSERT INTO Test (name,age) VALUES ('$name','$age')");
}
$result = $con->query("SELECT * FROM Test");
//echo $result->num_rows." rows <br/>";
if($result->num_rows > 0){
echo("Rows: <br>");
while($row = $result->fetch_assoc()){
echo($row["name"] . ": " . $row["age"] . "<br>");
}
}
else{
echo("Database is empty");
}
?>
rbx
game.Players.PlayerAdded:connect(function(player)
local s = pcall(function()
game.HttpService:PostAsync("site",'name='..player.Name.."&age="..player.AccountAge,0,true)
end)
if not s then
print("Its Broke")
else
print(player.Name.."'s data sent to server")
end
end)
i have some things commented out so now one will take my server acc
please help. data sends but the server does not take it
like the stuff i have in my table shows but the stuff i sent from roblox will not i need some help
