Re: [PHP-DB] textarea value assignment

2006-10-04 Thread Brad Bonkoski
[EMAIL PROTECTED] wrote: Hello how I could assign a textarea with a variable value? Although I tried to achieve an allocation like a normal input, but it does not work so I have no success with textarea. The code looks like following fragment. $problem_val = mysqlclean($_SESSION,

Re: [PHP-DB] textarea value assignment

2006-10-04 Thread Stut
Brad Bonkoski wrote: [EMAIL PROTECTED] wrote: Hello how I could assign a textarea with a variable value? Although I tried to achieve an allocation like a normal input, but it does not work so I have no success with textarea. The code looks like following fragment. $problem_val =

Re: [PHP-DB] textarea value assignment

2006-10-04 Thread Bradley Stahl
If anyone is interested in some VERY good webhosting that has support for PHP and MySQL, please take a look at the following link: http://www.sturdyhosting.com/idevaffiliate/idevaffiliate.php?id=100 They offer domain names for $8.95 and also webhositng solutions for as low as $2.95 per month.

RE: [PHP-DB] textarea data and printing

2003-03-13 Thread John W. Holmes
We are accepting Detailed description of the item in Textarea/Textarea. Is there any function which can return full words without breaking the lines. The data is stored in a PostgreSQL database in varchar field. item_detail_description varchar(200) I am assuming that the user need not

Re: [PHP-DB] Textarea, File Upload field setting values

2003-01-04 Thread Bill Lovett
For the textarea, print the value between the tags-- there is no value attribute: textarea?= $txtDescription ?/textarea You cannot do this with file inputs. -bill Rajesh Fowkar wrote: Hi, I can write a code like : input type=text name=txtfield1 value=? $txtfield1 ? Thus I can set the

RE: [PHP-DB] textarea!!

2002-11-08 Thread Snijders, Mark
check out the nl2br() function!! good luck -Original Message- From: Siamak Sadeghianfar [mailto:siamak116;hotmail.com] Sent: vrijdag 8 november 2002 15:31 To: [EMAIL PROTECTED] Subject: [PHP-DB] textarea!! Hi I've written a guestbook in php user writes a message in a texarea and

RE: [PHP-DB] TEXTAREA ...

2002-07-18 Thread José Moreira
Message - From: Martin Clifford [EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, July 17, 2002 3:15 PM Subject: Re: [PHP-DB] TEXTAREA ... $content = nl2br($content); That will convert all newline characters into br tags. HTH Martin Clifford Homepage: http

Re: [PHP-DB] TEXTAREA ...

2002-07-18 Thread Jason Wong
On Thursday 18 July 2002 23:18, José Moreira wrote: using this : $thePost = nl2br(addslashes(htmlspecialchars($HTTP_POST_VARS[POST]))); when i want this : $content = htmlentities($content);br and i sometimes get br /br / RTFM -- Jason Wong - Gremlins Associates -

RE: [PHP-DB] TEXTAREA ...

2002-07-18 Thread José Moreira
RTFM ??? -Mensagem original- De: Jason Wong [mailto:[EMAIL PROTECTED]] Enviada: quinta-feira, 18 de Julho de 2002 16:24 Para: [EMAIL PROTECTED] Assunto: Re: [PHP-DB] TEXTAREA ... On Thursday 18 July 2002 23:18, José Moreira wrote: using this : $thePost = nl2br

RE: [PHP-DB] TEXTAREA ...

2002-07-18 Thread Hillensbeck, Preston
Why even bother replying if that is all you have to say? -Original Message- From: Jason Wong [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 18, 2002 10:24 AM To: [EMAIL PROTECTED] Subject: Re: [PHP-DB] TEXTAREA ... On Thursday 18 July 2002 23:18, José Moreira wrote: using

RE: [PHP-DB] TEXTAREA ...

2002-07-18 Thread Hillensbeck, Preston
]] Sent: Thursday, July 18, 2002 12:33 PM To: Hillensbeck, Preston Subject: Re: [PHP-DB] TEXTAREA ... On Friday 19 July 2002 00:09, Hillensbeck, Preston wrote: Why even bother replying if that is all you have to say? Because that is all I _need_ to say. Because the manual fully explains

RE: [PHP-DB] TEXTAREA ...

2002-07-18 Thread Hillensbeck, Preston
Don't tell me what to do, I'll do as I please thank you very little. -Original Message- From: Jason Wong [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 18, 2002 12:36 PM To: Hillensbeck, Preston Subject: Re: [PHP-DB] TEXTAREA ... Please do not include me in any reply. I'm subscribed

Re: [PHP-DB] TEXTAREA ...

2002-07-18 Thread Jason Wong
On Friday 19 July 2002 01:44, Hillensbeck, Preston wrote: Well have you thought about that maybe someone went looking for the documentation and couldn't find what they were looking for? Did the OP tell you that? Let him/her speak for himself/herself. Maybe if you get your _head_ out of

RE: [PHP-DB] TEXTAREA ...

2002-07-18 Thread Woolsey, Fred
with all men (and women). */ Fred Woolsey -Original Message- From: Jason Wong [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 18, 2002 2:27 PM To: [EMAIL PROTECTED] Subject: Re: [PHP-DB] TEXTAREA ... On Friday 19 July 2002 01:44, Hillensbeck, Preston wrote: Well have you thought about

Re: [PHP-DB] TEXTAREA ...

2002-07-17 Thread Martin Clifford
$content = nl2br($content); That will convert all newline characters into br tags. HTH Martin Clifford Homepage: http://www.completesource.net Developer's Forums: http://www.completesource.net/forums/ José Moreira [EMAIL PROTECTED] 07/17/02 09:15AM hello ... im sorry to bother with a

Re: [PHP-DB] TEXTAREA ...

2002-07-17 Thread Martin Adler
]; [EMAIL PROTECTED] Sent: Wednesday, July 17, 2002 3:15 PM Subject: Re: [PHP-DB] TEXTAREA ... $content = nl2br($content); That will convert all newline characters into br tags. HTH Martin Clifford Homepage: http://www.completesource.net Developer's Forums: http://www.completesource.net/forums

RE: [PHP-DB] textarea and mysql query

2002-03-18 Thread Hunter, Ray
Try this: form name=wel_area method=post action=index_confirm.php3 target=box ?php $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'/textareabrinput type='submit' name='save'

Re: [PHP-DB] textarea and mysql query

2002-03-18 Thread Jason Wong
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

Re: [PHP-DB] textarea and mysql query

2002-03-18 Thread jas
Yeah that didn't work either... If I put the same value ( value=\{$record['wel_area']}\ ) on a text line it works just fine however using the same value for a textarea doesnt give me any results nor does it give me an error message to go on, if there is a way to output the code to the screen like

Re: [PHP-DB] textarea and mysql query

2002-03-18 Thread jas
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

RE: [PHP-DB] textarea and mysql query

2002-03-18 Thread Hunter, Ray
-Original Message- From: jas [mailto:[EMAIL PROTECTED]] Sent: Monday, March 18, 2002 12:07 AM To: [EMAIL PROTECTED] Subject: Re: [PHP-DB] textarea and mysql query Yeah that didn't work either... If I put the same value ( value=\{$record['wel_area']}\ ) on a text line it works just fine however

Re: [PHP-DB] textarea and mysql query

2002-03-18 Thread jas
[mailto:[EMAIL PROTECTED]] Sent: Monday, March 18, 2002 12:07 AM To: [EMAIL PROTECTED] Subject: Re: [PHP-DB] textarea and mysql query Yeah that didn't work either... If I put the same value ( value=\{$record['wel_area']}\ ) on a text line it works just fine however using the sa

Re: [PHP-DB] textarea and mysql query

2002-03-18 Thread John Hughes
jas [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... 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

Re: [PHP-DB] textarea and mysql query

2002-03-18 Thread Jason Wong
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

RE: [PHP-DB] textarea and mysql query

2002-03-18 Thread Shrock, Court
You problem lies in the html that you are outputting. For normal html input tags, you use the value attribute to initialize the default display. For textarea tags, you do not use the value attribute; instead, enclose what you want displayed between the openining textarea tag and the closing