field_not_found but they exists!
#8

Sure

PHP код:
    mysql_format(mysqlquerysizeof(query),"SELECT * FROM `TableX`");
    
mysql_tquery(mysqlquery"OnSomethingLoad"); 
and then you make a callback (a public function with forward)
PHP код:
public OnSomethingLoad()
{
     new 
cache_get_row_count();
    for(new 
i=0i++)
    {
        
cache_get_field_content(i"Name"Sth[i][Name], mysql30);
        
Sth[i][Type] = cache_get_field_content_int(i"Type");
        
Sth[i][X] = cache_get_field_content_float(i"X");
    } 
This is an example of how, where and what commands to use to get information from the mysql, you need to change all your code to match this format, cuz when you make a t(hreaded)query you receive results in a callback, not right after it ( under your code)
Reply


Messages In This Thread
field_not_found but they exists! - by Face9000 - 30.09.2015, 20:19
Re: field_not_found but they exists! - by jihadmeneer - 30.09.2015, 20:53
Re: field_not_found but they exists! - by Face9000 - 30.09.2015, 21:08
Re: field_not_found but they exists! - by Stanford - 30.09.2015, 21:40
Re: field_not_found but they exists! - by Face9000 - 30.09.2015, 21:44
Re: field_not_found but they exists! - by PrO.GameR - 30.09.2015, 22:39
Re: field_not_found but they exists! - by Face9000 - 01.10.2015, 07:45
Re: field_not_found but they exists! - by PrO.GameR - 01.10.2015, 08:35
Re: field_not_found but they exists! - by Face9000 - 01.10.2015, 10:29
Re: field_not_found but they exists! - by PrO.GameR - 01.10.2015, 10:53

Forum Jump:


Users browsing this thread: 2 Guest(s)