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 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 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 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 The code looks like following fragment. $problem_val = mysqlclean($_SESSION, "problem_eb", 500, $connection); cols="1" rows="1" name="problem_eb" val

RE: [PHP-DB] textarea data and printing

2003-03-13 Thread John W. Holmes
> We are accepting Detailed description of the item in > . > > 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 press the

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: You cannot do this with file inputs. -bill Rajesh Fowkar wrote: Hi, I can write a code like : Thus I can set the value of $txtfield1 and it is reflected in the above textbox. How can such thing be done wi

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 i

Re: [PHP-DB] textarea!!

2002-11-08 Thread Marco Tabini
You need to use nl2br http://ca.php.net/manual/en/function.nl2br.php Marco - php|architect -- The Monthly Magazine For PHP Professionals Come visit us on the web at http://www.phparch.com! On Fri, 2002-11-08 at 09:30, Siamak Sadeghianfar wrote: > Hi > I've written a guestbook in ph

RE: [PHP-DB] TEXTAREA ...

2002-07-18 Thread Beau Lebens
--Mensagem original- // De: Martin Clifford [mailto:[EMAIL PROTECTED]] // Enviada: quarta-feira, 17 de Julho de 2002 15:02 // Para: [EMAIL PROTECTED]; [EMAIL PROTECTED] // Assunto: Re: [PHP-DB] TEXTAREA ... // // // Yup. So: // // $content = nl2br(htmlentities(stripslashes($content))); //

RE: [PHP-DB] TEXTAREA ...

2002-07-18 Thread Russ
hp-Db (Correio electrónico) Subject: RE: [PHP-DB] TEXTAREA ... good day/afternoon/night why do i get this : $content = htmlentities($content); when i insert this : $content = htmlentities($content);[new line] using this : $thePost = nl2br(addslashes(htmlspecialchars($HTTP_POST

RE: [PHP-DB] TEXTAREA ...

2002-07-18 Thread Woolsey, Fred
t of your ability, be at peace 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:

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 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&#x

RE: [PHP-DB] TEXTAREA ...

2002-07-18 Thread Hillensbeck, Preston
ECTED]] 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 expl

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 t

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 : > > $thePos

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); > > and i sometimes get > > RTFM -- Jason Wong -> Gremlins Associates ->

RE: [PHP-DB] TEXTAREA ...

2002-07-18 Thread José Moreira
t = nl2br(htmlentities(stripslashes($content))); - Original 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)

Re: [PHP-DB] TEXTAREA ...

2002-07-17 Thread Martin Clifford
ties(stripslashes($content))); - Original 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 wi

Re: [PHP-DB] TEXTAREA ...

2002-07-17 Thread Martin Adler
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 tags. HTH Martin Clifford Homepage: http://www.completesource.net Developer&#

Re: [PHP-DB] TEXTAREA ...

2002-07-17 Thread Martin Clifford
$content = nl2br($content); That will convert all newline characters into 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 and mysql query

2002-03-18 Thread jas
John, that worked great. Thanks again for your help, I am going to do a tutorial on using textareas in order to edit contents of a database considering i had a hell of a time trying to find one elsewhere. Jas "John Hughes" <[EMAIL PROTECTED]> wrote in message 003e01c1ceb2$a05f8680$[EMAIL PROTECTE

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 tags, you use the "value" attribute to initialize the default display. For tags, you do not use the "value" attribute; instead, enclose what you want displayed between the openining tag and the closing tag. For example:

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]... >

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. >

Re: [PHP-DB] textarea and mysql query

2002-03-18 Thread jas
you, > > Ray Hunter > Firmware Engineer > > ENTERASYS NETWORKS > > > -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 tha

RE: [PHP-DB] textarea and mysql query

2002-03-18 Thread Hunter, Ray
ENTERASYS NETWORKS -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'

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 n

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 lik

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. > $record = mysql_fetch_array(@mysql_query("

RE: [PHP-DB] textarea and mysql query

2002-03-18 Thread Hunter, Ray
Try this: \n"; ?> If not then let me know... Thank you, Ray Hunter Firmware Engineer ENTERASYS NETWORKS -Original Message- From: jas [mailto:[EMAIL PROTECTED]] Sent: Sunday, March 17, 2002 11:54 PM To: [EMAIL PROTECTED] Subject: [PHP-DB] textarea and mysql query I need some h