Re: mySQL Database to a TextArea?

From: Rich Wahl (phantomrogue_at_gmail.com)
Date: 08/25/04


Date: 24 Aug 2004 23:13:11 -0700

Lee Fesperman <firstsql@ix.netcom.com> wrote in message news:<412BD897.19FE@ix.netcom.com>...
> Rich Wahl wrote:
> >
> > I have a little program here that uses JDBC to connect to a mySQL
> > server. (Doesnt connect remotely yet :) ill cross that bridge when I
> > get there, still new to sql servers and if everyone needs a user/psw
> > or whatnot).
> >
> > My question is as follows, Is there a way that I can 'import' the
> > formatting of a SQL output (with all the plus's and auto formatting of
> > columns to accomodate the largest name/number in that column. As of
> > now, I just have a Label above a TextArea and have the inputs being
> > read and a constant format as its outputted. (Using tabs and spaces)
> > But it looks very sloppy, as not all names or values are the same
> > length.
>
> Use a fixed-width font (monospaced) and space filling in the TextArea.

That wouldnt doesnt work since the names and values I will be reading
in from the Database are all of different lengths.

Or is there a way to have a text area start at a exact position? I
havent done much work with formatting within a textarea...



Relevant Pages

  • Re: PhP and mysql wont do this insert. Help please...
    ... The post is taking from data from a textarea. ... and submit the entry in mysql is only "hello" ...
    (comp.lang.php)
  • Insert textarea datas in mysql, with " or ....
    ... I've a textarea and would like to save the content in a mysql table each ... My query is: ... Bob ...
    (comp.lang.php)
  • Re: Trying to convert <textarea> data
    ... Julia Briggs wrote: ... > know this must be a simple query, ... That would put the whole data from the textarea into the mysql database. ...
    (alt.php)
  • Re: Putting a user input in a textarea onload
    ... I use a html form to put data into mysql ... Although I want to make a button which onclick asks the user for a ... input and inserts it into the textarea. ... You can use a prompt to get user input, but it's rather kludgy to use a dialog to get input that is dropped into a page anyway. ...
    (comp.lang.javascript)
  • Trying to convert <textarea> data
    ... I want to insert data from a textarea into MySQL, ... coverted into one long inserted string, ... know this must be a simple query, any takers? ...
    (alt.php)