Re: [PHP] Informix - ifx_num_rows

2001-08-24 Thread Leila
Thanks for all that answered my question. I wanted this function because i use Postgres too in the same project , i will use informix or postgres , so the logic in my implementation was based on postgres functions... But if to Informix it doesn't work ... I will do of another way. Leila Martín

Re: [PHP] Informix - ifx_num_rows

2001-08-23 Thread Martín Marqués
On Jue 23 Ago 2001 16:50, you wrote: Hi all, I have Php 4.0.6 on Linux with Informix Dynamic Server 7.31.UD1. I try to use the function ifx_num_rows after afx_query and the value returned is always 0, but i can see the result with ifx_fetch_row. Does Anyone know if there is a bug with

Re: [PHP] Informix - ifx_num_rows

2001-08-23 Thread Chris Fry
This function does not work reliably with most databases, not just Informix. Caused me a lot of problems as I have a number of pages where I'd like to display a No records found message. Just have to do it the hard way. I think there's a disclaimer in the docs about this being unreliable.

Re: [PHP] Informix - ifx_num_rows

2001-08-23 Thread Martín Marqués
On Jue 23 Ago 2001 21:21, Chris Fry wrote: This function does not work reliably with most databases, not just Informix. Caused me a lot of problems as I have a number of pages where I'd like to display a No records found message. I normally have a count(*) query to know how much records