Getting highest field value
#5

Rows is the number of rows that were returned. It couldn't be anymore clear, really. cache_get_data has the same functionality as mysql_num_rows and mysql_num_fields combined. To get the data you'll need to call cache_get_row.

pawn Код:
new
    store[12],
    value;

cache_get_row(0 /* first row */, 0 /* first field */, store);
value = strval(store);

printf("%d zaideju", value);
Reply


Messages In This Thread
Getting highest field value - by BaubaS - 01.06.2012, 22:29
Re: Getting highest field value - by Jonny5 - 01.06.2012, 22:31
Re: Getting highest field value - by BaubaS - 01.06.2012, 22:35
Re: Getting highest field value - by Jonny5 - 01.06.2012, 22:42
Re: Getting highest field value - by Vince - 01.06.2012, 22:46
Re: Getting highest field value - by Kar - 02.06.2012, 03:46
Re: Getting highest field value - by Scott - 02.06.2012, 05:24
Re: Getting highest field value - by BaubaS - 02.06.2012, 07:14
Re: Getting highest field value - by BaubaS - 02.06.2012, 07:40
Re: Getting highest field value - by iggy1 - 02.06.2012, 07:52

Forum Jump:


Users browsing this thread: 3 Guest(s)