17.10.2010, 10:15
Hi, my problem is mysql
And server_log.txt
PHP код:
MySQLCheck();
new resultline[1024],fetch[258];
format(query,1024,"SELECT * FROM `players` WHERE Job = '1' LIMIT 10");
mysql_query(query);
mysql_store_result();
//new vardas;
mysql_fetch_row(resultline);
mysql_fetch_field_row(fetch,"PName");
sscanf(fetch, "s[128]", gangDB[gangid][leader]);
printf("%s",gangDB[gangid][leader]);
mysql_free_result();
PHP код:
[12:52:10] Name_Nickname
[12:52:10] Name_Nickname
[12:52:10] Name_Nickname
[12:52:11] Name_Nickname
[12:52:11] Name_Nickname
[12:52:11] Name_Nickname
[12:52:11] Name_Nickname
[12:52:11] Name_Nickname
[12:52:11] Name_Nickname
[12:52:11] Name_Nickname
[12:52:11] Name_Nickname
[12:52:11] Name_Nickname
[12:52:11] Name_Nickname
[12:52:11] Name_Nickname
[12:52:11] Name_Nickname
[12:52:11] Name_Nickname
[12:52:11] Name_Nickname
[12:52:11] Name_Nickname
[12:52:11] Name_Nickname
[12:52:12] Name_Nickname
[12:52:12] Name_Nickname
[12:52:12] Name_Nickname
[12:52:12] Name_Nickname
[12:52:12] Name_Nickname
[12:52:12] Name_Nickname
[12:52:12] Name_Nickname
[12:52:12] Name_Nickname
[12:52:12] Name_Nickname
[12:52:12] Name_Nickname
[12:52:12] Name_Nickname