Saving Data

Hello, i have created a Menu and i want to Save the Value of a DTextEntry every Time i click the button

local saveb = vgui.Create("DButton", frame)
--saveb Code
saveb.DoClick = function()
      --Here i want to safe the Value with DTextEntry:GetValue
end

If it is possible i want to save the data in the Server Database

If you want to be lazy or don’t need a database you can use File:Write - Garry's Mod Wiki

Is there a specifig order i have to use for it (If you have time could you post an example?)

Have a look at how util.SetPData does it:

Just change a few variables around, you only need sql.Query to start a database.