Weird problem
#2

Quote:
Originally Posted by [IL]HeHu
Посмотреть сообщение
I have this code:
PHP код:
    new
        
string[526]
     ;
    
format(stringsizeof(string), "SELECT `string` FROM `blogs` WHERE `bid` = '%i' LIMIT 5"acc);
    
mysql_query(string);
    
mysql_store_result();
    if(
mysql_num_rows() > 0)
    {
        
format(string,sizeof(string),"{FF6347}BANK STATEMENT:\n\n{B1C8FB}%s\n",string);
        
ShowPlayerDialog(playerid,DIALOG_BANK_STAT,DIALOG_STYLE_MSGBOX,"{24FF0A}Bank - {FFFFFF}Statement",string,"OK","");
        
mysql_free_result();
    }
    else return
            
ShowPlayerDialog(playeridDIALOG_BANK_STATDIALOG_STYLE_MSGBOX"{24FF0A}Bank - {FFFFFF}Statement""No record was found on this account""OK"""); 
And when it does have "record" it just shows "SELECT `string` FROM `blogs` WHERE `bid` = 'actual input' LIMIT 5"
It doesn't show that actual string, can you see any problem with my code?
can you show as the script of "acc"(what does it do...or what should it do)
Reply


Messages In This Thread
Weird problem - by [IL]HeHu - 09.09.2011, 18:26
Re: Weird problem - by Kaperstone - 09.09.2011, 18:30
Re: Weird problem - by [IL]HeHu - 09.09.2011, 18:34
Re: Weird problem - by Kaperstone - 09.09.2011, 18:40
Re: Weird problem - by [IL]HeHu - 09.09.2011, 18:42
Re: Weird problem - by Kaperstone - 09.09.2011, 18:45
Re: Weird problem - by [IL]HeHu - 09.09.2011, 18:49
Re: Weird problem - by Kaperstone - 09.09.2011, 19:02
Re: Weird problem - by [IL]HeHu - 09.09.2011, 19:03
Re: Weird problem - by Kaperstone - 09.09.2011, 19:06

Forum Jump:


Users browsing this thread: 2 Guest(s)