Hi
I am trying to display the rows from a database table in a grid.
I retrieved the results using pg_query() with a Select command. pg_query()
returns true.
But when I pass the results $rows to pg_fetch_array(), it returns false. I
even tried displaying the error, if any, using:
Hi
I am facing a common problem which any developer querying the database would
face.
In our web applications wherever we have more than one standard options for
a field, we usually denote them as integers. Say, for gender, we store it as
1 or 2, but we display that as male or female in