Jump to content

Stupid problem :| 5%


MR.GRAND

Recommended Posts

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...