josephicon Posted March 7, 2007 Share Posted March 7, 2007 Hi All, I have 2 tables I would like one to give the field name for the print command for the other. $get_prop->address1 instead of typing address1 i would like to put $get_fields->fieldname and that would have the value of address1. I have tried this but have it wont work. print "$get_prop->$get_fields->fieldname<P>"; Many Thanks. Joseph Link to comment https://forums.phpfreaks.com/topic/41659-mysql-fieldname-from-table/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.