Solved

output val from database

Posted on 2004-04-09
6
184 Views
Last Modified: 2010-04-01

Hi, im accessing a variable like this from a mysql db:

string val  = select/rest/of/query

Id just like to know how I can output val in a readible user frienly way.

Any suggestions id really appreciate.

Thanks
0
Comment
Question by:emitlightbulb
  • 2
6 Comments
 
LVL 19

Expert Comment

by:Kuldeepchaturvedi
ID: 10792234
0
 

Author Comment

by:emitlightbulb
ID: 10793598

That does'nt answer my question, I want to be able to use the variable like id use a html text. Is this possible?
0
 
LVL 19

Accepted Solution

by:
Kuldeepchaturvedi earned 30 total points
ID: 10795552
<%= any jsp variable%> will out put it to user... it doesn't really matter whats in it....
0
 
LVL 49

Expert Comment

by:Ryan Chong
ID: 10796910
>>Id just like to know how I can output val in a readible user frienly way
Try use Table in HTML, maybe you can do a loop inside the <tr> and <td> tags, in order to create a more user-friendly interface, combine with what kuldeepchaturvedi suggested.

cheers
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
JspWriter.write() and JspWriter.print() 4 82
logging jar 1 106
Jquery - parsing the results returned from webmethod 1 108
own marker interface 1 50
Note: This is the second blog post in a series on email clearinghouses (https://www.xmatters.com/alert-management/blog-email-has-failed-us?utm_campaign=70138000000ydLoAAI&utm_source=exex&utm_medium=article&utm_content=blog-post).   Every month t…
Cloud-based technologies and services will continue to grow in popularity in 2017 thanks to the simple, scalable and cost-effective solutions they deliver. Here are three areas where cloud adoption is poised to really take off.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

28 Experts available now in Live!

Get 1:1 Help Now