note 8763 deleted from function.ifx-fetch-row by didou
| From: | didou@php.net | Date: | Sat, 03 Feb 2007 03:42:11 +0000 |
| Subject: | note 8763 deleted from function.ifx-fetch-row by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-122636@lists.php.net to get a copy of this message | ||
Note Submitter: kgolding at webcom dot com dot au
----
If you want to do an absolute fetch and you want to use a value stored in a variable to specify the
row number to get, then you have to cast your variable to type "int".
eg. $row = ifx_fetch_row ($res_id, (int)$row_to_get);
The (int) before the variable named $row_to_get is the bit that does the cast. If you don't do
this then you get the following error:
Warning: invalid positioning arg on fetch in...