Re: getting information from textareas with php

Try to change the closing php tag from php?> to ?> only.
Marlon

2008/8/30, BlueScale <bluescale1976@xxxxxxx>:
> Hi,
> Is there something special I need to do to get information from text
> areas?
> I have checked for the usual mistakes, misnamed variables etc, and
> everything is as it should be except there's never anything in the
> textarea variable.
> my textarea is as follows:
> <textarea cols="60" rows="5" name="mytext"><?php if
> ($_SESSION["mytext"] != "")
> {
> echo stripslashes($_SESSION["mytext"]);
> }
> php?></textarea>
>
> In my form processing code, I have of course, $_SESSION["mytext"] =
> $_POST["mytext"].
> Every other piece of the form works as expected, just not the textarea.
> Thanks for any help
> BlueScale
>


-- 
When you say "I wrote a program that crashed Windows," people just
stare at you blankly and say "Hey, I got those with the system, for
free."
Linus Torvalds
__________
View the list's information and change your settings at 
http://www.freelists.org/list/programmingblind

Other related posts: