On Monday 18 March 2002 15:09, jas wrote:
> Sorry, the connection is established already so that part works just fine.
> It is getting the results of said connection \ query to appear in a
> textarea vs. a text line.
> "Jason Wong" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]...
>
> > On Monday 18 March 2002 14:53, jas wrote:
> > > I need some help with a query to place the results within a text
> > > area... here is the code and so far every time I try it out all that
> > > happens is
>
> it
>
> > > displays the textbox but not the results of the query.
> > > <form name="wel_area" method="post" action="index_confirm.php3
> > > target="box"> <?php

action="index_confirm.php3"

Note the closing double-quote.



> > > $record = mysql_fetch_array(@mysql_query("SELECT wel_area FROM
> > > cm_index",$dbh));
> > > echo "<textarea name='wel_area' value='{$record['wel_area']}' cols='25'
> > > rows='8'></textarea><br><input type='submit' name='save'
> > > value='save'><br>\n";
> > > ?>
> > >       </form>



Text areas are specified as:

 <textarea name="abc">Stuff which goes into text area</textarea>


-- 
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk

/*
Let's not complicate our relationship by trying to communicate with each 
other.
*/

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to