SQL results.
#4

PHP код:
new string[10];
mysql_query("SELECT `Fines` FROM `Accounts` WHERE `Username` = '%s'", NameEntered);
mysql_store_result(); mysql_retrieve_row();
mysql_fetch_field_row(string, "fines");
format(string, sizeof(string), "Fines: %s", string);
ShowPlayerDialog(playerid, 14214, DIALOG_STYLE_MSGBOX, "MDC Beta", string, "OK", "");
mysql_free_result(); 
Reply


Messages In This Thread
SQL results. - by iGetty - 07.06.2012, 02:19
Re: SQL results. - by Kitten - 07.06.2012, 02:22
Re: SQL results. - by iGetty - 07.06.2012, 02:24
Re: SQL results. - by mati233 - 07.06.2012, 02:27
Re: SQL results. - by Lorenc_ - 07.06.2012, 02:29
Re: SQL results. - by iGetty - 07.06.2012, 02:30
AW: SQL results. - by Extremo - 07.06.2012, 02:40
Re: SQL results. - by kikito - 07.06.2012, 10:35
Re: SQL results. - by Pizzy - 10.06.2012, 15:39

Forum Jump:


Users browsing this thread: