Saving mysql change
#2

PHP Code:
mysql_format(dbhandlequerysizeof query"UPDATE `factions` SET `namefaction` = '%s', `typefaction` = %d, `argentfaction` = %d WHERE `sqlfaction` = %d LIMIT 1"FactionInfo[factionid][Namefaction], FactionInfo[factionid][Typefaction], FactionInfo[factionid][Argentfaction], FactionInfo[factionid][Sqlfaction]);
    
mysql_tquery(dbhandlequery); 
Because strings must have single quotes around them
You have in the insert function but not into the save one
Reply


Messages In This Thread
Saving mysql change - by Klayton - 17.09.2017, 09:24
Re: Saving mysql change - by Banditul18 - 17.09.2017, 12:21

Forum Jump:


Users browsing this thread: 1 Guest(s)