Threaded query problem
#4

PHP код:
cache_get_data(rowsfieldsg_iHandle); 
This returns the amount of rows and fields. If you have 1 row returned, rows will be 1.

PHP код:
cache_get_field_content(rows"Character"sahipIsimg_iHandlesizeof(sahipIsim)); 
In case of 1 row returned, you use "rows" here to indicate the row to be processed.
But the first row in a result-set is row 0.
You're processing a non-existing row.

PHP код:
cache_get_field_content(rows 1"Character"sahipIsimg_iHandlesizeof(sahipIsim)); 
Or better yet, if you're certain you only have 1 character to be returned (always 1 row):
PHP код:
cache_get_field_content(0"Character"sahipIsimg_iHandlesizeof(sahipIsim)); 
Reply


Messages In This Thread
Threaded query problem - by WhoIsYourDaddy - 25.02.2016, 15:13
Re: Threaded query problem - by WhoIsYourDaddy - 25.02.2016, 15:44
Re: Threaded query problem - by WhoIsYourDaddy - 25.02.2016, 19:57
Re: Threaded query problem - by AmigaBlizzard - 25.02.2016, 20:34
Re: Threaded query problem - by WhoIsYourDaddy - 26.02.2016, 00:30
Re: Threaded query problem - by Jefff - 26.02.2016, 00:35
Re: Threaded query problem - by WhoIsYourDaddy - 26.02.2016, 01:09
Re: Threaded query problem - by Virtual1ty - 26.02.2016, 13:01
Re: Threaded query problem - by WhoIsYourDaddy - 26.02.2016, 13:09
Re: Threaded query problem - by Virtual1ty - 26.02.2016, 13:14

Forum Jump:


Users browsing this thread: 1 Guest(s)