note 88157 added to function.ifx-num-rows

From: Date: Tue, 13 Jan 2009 12:10:26 +0000
Subject: note 88157 added to function.ifx-num-rows
Groups: php.notes 
Request: Send a blank email to php-notes+get-149134@lists.php.net to get a copy of this message
if you use this function following: $query = ifx_query("SELECT * FROM systables", $connection); $rows = ifx_num_rows($query); this way it doesn't work... the correct is: $query = ifx_query("SELECT * FROM systables", $connection); $fetch = ifx_fetch_row($query); $rows = ifx_num_rows($query); this way it work... the informix doesn't returns anything (only with ifx_num_rows) if you don't open the results of query (with ifx_fetch_row) ---- Server IP: 200.185.109.13 Probable Submitter: 189.61.226.29 ---- Manual Page -- http://www.php.net/manual/en/function.ifx-num-rows.php Edit -- https://master.php.net/note/edit/88157 Del: integrated -- https://master.php.net/note/delete/88157/integrated Del: useless -- https://master.php.net/note/delete/88157/useless Del: bad code -- https://master.php.net/note/delete/88157/bad+code Del: spam -- https://master.php.net/note/delete/88157/spam Del: non-english -- https://master.php.net/note/delete/88157/non-english Del: in docs -- https://master.php.net/note/delete/88157/in+docs Del: other reasons-- https://master.php.net/note/delete/88157 Reject -- https://master.php.net/note/reject/88157 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#149134) next »