MR.GRAND Posted November 7, 2016 Share Posted November 7, 2016 Look at this for i, _ in ipairs ( Table_Acc_ ) do local Acc = Table_Acc_[i].Acc local Subject = Table_Acc_[i].Subject local Name = getPlayerName( player ) local Reason = Table_Acc_[i].Reason local Notes = Table_Acc_[i].Notes local Time = Table_Acc_[i].Time local Date = Table_Acc_[i].Date local Value = Table_Acc_[i].Value dbExec( InfractionsBase, ' UPDATE `Infractions_System_MainTable` SET Acc = ?, Name = ?, Subject = ?, Reason = ?, Notes = ?, Time = ?, Date = ?, Value = ? WHERE Acc = ? AND Value = ?', Acc, Name, Subject, Reason, Notes, Time, Date, Acc, Value ) end Why when i put ; WHERE Acc = ? AND Value = ? The table is not updated ? i checked values and i know all values is true but why ? Link to comment
MR.GRAND Posted November 7, 2016 Author Share Posted November 7, 2016 # Fixed , Close Thx all Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now