Alex,
I think this is what you maybe looking for:
http://us2.php.net/manual/en/function.mysqli-fetch-fields.php
Regards,
John
On 2/9/06, UCFire...@gmail.com <UCFire...@gmail.com> wrote:
> I'm at wit's end as there doesn't seem to be any documented way to do
> this. My old MySQL api library had some functions in it to pull all the
> column names out of a query and display everything in a table form.
> This seems simple enough, but I can't seem to find out how to get the
> column names to iterate through.
> There's probably a very simple solution I'm overlooking so far.
> Also, if someone has any mini api libraries set up to eliminate extra
> lines of code for SQLi, I would love to see them.
> Thanks.
> -Alex