Link to home
Start Free TrialLog in
Avatar of widiyanto
widiyanto

asked on

display data without retrieving from database

Hi,

Is there any way that we can display data without retrieve from database?
For example,

if inside the database:
code description
cm_123 coffee 123
cm_124 coffee 124
te_234 tea 234
te_235 tea 235

then I want to add another column called type which consist of 2 types tea and coffee so that in the html:

code description type
cm_123 coffee 123 coffee
cm_124 coffee 124 coffee
te_234 tea 234 tea
te_235 tea 235 tea

so when the user add and update the type, we just display it. is there any way of doing this without connecting to database?
ASKER CERTIFIED SOLUTION
Avatar of zzynx
zzynx
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of widiyanto
widiyanto

ASKER

haha.. honestly.. I also don't know...
but my supervisor asked me to do it... hehe..
Why are you not allowed to connect to the database?
You have to connect to get the other data...
Better ask your supervisor again...
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial