I've created a php script that queries a table I've created with Oracle. When I want to display the returned search array, I print some header columns in html, then do a while statement that loops through the returned search array until it's empty, with the returned info placed neatly below the header columns.
The problem is that if I enter a search string that doesn't exist in my table, the script that displays the returned array displays the header columns with nothing in the rows below. I realized I needed to test my header columns to see if the returned search array was empty. If it was, I didn't want to print the column headers in my html page. Plus I would like to print out a message to tell the user that no information was found, and to try again.
But I've looked everywhere over the past 2 weeks, and tried all the Oracle functions I could find concerning rows, columns, and not null values. I need to find some value or returned variable or something that would just tell me if my search didn't find a match in my table. Does anyone know of anything?
Chuck
puffer@ccwf.cc.utexas.edu