Jump to content

[SOLVED] return field name


AV1611

Recommended Posts

let's say you have a table that has some dates in it.  The field is called DDATE

 

select DDATE from table blah blah

 

would return the data in the field.

 

How can you write a query that would return the name of a field and not the data in the field?  I hope that makes sense...

 

(so $row[0]  would return DDATE and not 2007-01-01, etc.)

Link to comment
https://forums.phpfreaks.com/topic/62722-solved-return-field-name/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.