SQL Select
#8

pawn Код:
forward OnHouseStripHouseData();
public OnHouseStripHouseData()
{
    new id,model,rows = cache_num_rows(); // get number of rows in the result

    for(new i=0; i < rows; i++)
    {
        id = cache_get_field_content_int(i, "ID");
        model = cache_get_field_content_int(i, "Model");
        printf("%d|%d", id, model);
    }
    return 1;
}
Reply


Messages In This Thread
SQL Select - by TwinkiDaBoss - 19.12.2015, 17:02
Re: SQL Select - by Kaperstone - 19.12.2015, 17:38
Re: SQL Select - by TwinkiDaBoss - 19.12.2015, 17:51
Re: SQL Select - by TwinkiDaBoss - 19.12.2015, 18:10
Re: SQL Select - by Kaperstone - 20.12.2015, 04:15
Re: SQL Select - by TwinkiDaBoss - 20.12.2015, 14:12
Re: SQL Select - by TwinkiDaBoss - 22.12.2015, 23:22
Re: SQL Select - by Jefff - 22.12.2015, 23:33
Re: SQL Select - by TwinkiDaBoss - 23.12.2015, 00:41
Re: SQL Select - by TwinkiDaBoss - 23.12.2015, 00:53

Forum Jump:


Users browsing this thread: 1 Guest(s)