note 8763 added to ifx_fetch_row

From: Date: Wed, 27 Sep 2000 17:38:52 +0000
Subject: note 8763 added to ifx_fetch_row
Groups: php.notes 
Request: Send a blank email to php-notes+get-5476@lists.php.net to get a copy of this message
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... http://www.php.net/manual/function.ifx-fetch-row.php

« previous php.notes (#5476) next »