• TMySQL Query Help
    2 replies, posted
[code] local NewString = Player:GetTable().RoleplayData.Vehicles .. tostring(Vehicle); tmysql.query("UPDATE `users` SET `vehicles`='" .. NewString .. "' WHERE `steamid`='" .. Player:SteamID() .. "'"); Player:GetTable().RoleplayData.Vehicles = NewString;[/code] I changed this, but I can't figure how to get it to REMOVE the vehicle, not add the vehicle... Can somebody help me please? :)
[url]http://w3schools.com/php/php_mysql_delete.asp[/url] That should help
[QUOTE=gotskilz4u;27646127][url]http://w3schools.com/php/php_mysql_delete.asp[/url] That should help[/QUOTE]Thank you, I was skeptical because I thought it would delete the table. It worked!
Sorry, you need to Log In to post a reply to this thread.