Oracle - Loop through column names
Posted: Tue Feb 16, 2010 10:07 am
I'm working with a database that has about 60 columns. I need to check to see that there are values in each column.
Is there a way to loop through the columns in php as apposed to looping through the rows?
Something like:
while (column['$i'] = 'x') {
echo 'column name';
$i++;
}
where i would be a column name and not a number.
Is there a way to loop through the columns in php as apposed to looping through the rows?
Something like:
while (column['$i'] = 'x') {
echo 'column name';
$i++;
}
where i would be a column name and not a number.