EasyUI Forum
April 29, 2024, 06:51:46 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Create column titles from database values  (Read 3855 times)
wolfnbasti
Newbie
*
Posts: 16


View Profile
« on: May 07, 2014, 10:43:10 PM »

I want to create column titles from the values returned from my database. Right now a have a single column similar to this:

Attributes
=======
First Name
Last Name
Address
Phone

I'd like to have those values appear as the column titles and thus the values beneath those titles be populated with member data.

First Name | Last Name | Address | Phone

The idea would be if I enter a new attribute, for example "Pet Name", in the database a new empty column would appear entitled "Pet Name" .

First Name | Last Name | Address | Phone | Pet Name

Do you have any ideas on how I might do this?
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!