SA-MP Forums Archive
Question - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Question (/showthread.php?tid=198171)



Question - gedux123775 - 11.12.2010

Hi, why do I not save the mysql table data, it is the price. Here is the code:
Код:
public OnGameModeExit()
{			
for(new house=0; house<maxhouse+1; house++)
{
format(query,256,"UPDATE `namai` SET `Kaina` = '%i' WHERE (`Namas` = '%i')",houseDB[house][kaina],house);
mysql_query(query);
}
return 1;
}



Re: Question - Mehtab - 11.12.2010

where is your website connection with your script. See MySQL tutorial


Re: Question - gedux123775 - 11.12.2010

My script is conect to website.


Re: Question - Ash. - 11.12.2010

Show us that section of script...