Sql Help


In my script im getting data from my sql query

For example

Strength = sql.QueryValue("SELECT Strength FROM player_skills3 WHERE unique_id = '"..steamID.."'")
ply:SetNWInt("Strength", Strength)

Now the problem is that it sets it as a string and not a integer so when i try using greater than or less then, it errors. Why is it doing this?!?!

Use tonumber(Strength);

Thank you, all fixed!