[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 195
  • Last Modified:

output val from database


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
emitlightbulb
Asked:
emitlightbulb
  • 2
1 Solution
 
emitlightbulbAuthor Commented:

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
 
KuldeepchaturvediCommented:
<%= any jsp variable%> will out put it to user... it doesn't really matter whats in it....
0
 
Ryan ChongCommented:
>>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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now