On Sun, Mar 19, 2006 at 05:12:06AM +, [EMAIL PROTECTED] wrote:
> Ok...
> it has to be a way to do such a thing.
> I do i get the column names?
> I can get the number of columns using mysql_num_fields() right?
> but what if i want to get the columns name? Wich functtion and how should i
> use?
[EMAIL PROTECTED] wrote:
Ok...
it has to be a way to do such a thing.
I do i get the column names?
I can get the number of columns using mysql_num_fields() right?
but what if i want to get the columns name? Wich functtion and how should i use?
the goal is to make a function that prints a table t
You could fetch the rows in an associate array. Then loop over each
element in the array printing it out inside tags..
print out before the columns, after.
To get the header just loop through the keys of the associative array.
Whenever you want to show the header.
Unless I'm misunderstand
Ok...
it has to be a way to do such a thing.
I do i get the column names?
I can get the number of columns using mysql_num_fields() right?
but what if i want to get the columns name? Wich functtion and how should i use?
the goal is to make a function that prints a table that prints the result of
a
4 matches
Mail list logo