Re: getting information from textareas with php

  • From: BlueScale <bluescale1976@xxxxxxx>
  • To: programmingblind@xxxxxxxxxxxxx
  • Date: Sun, 31 Aug 2008 19:19:59 -0400

Hi,
I actually found the problem.  I was loading the form processor in a
frame with another page.  When I switched to loading it by itself, it
works great.
Thanks
BlueScale


On Sun, 2008-08-31 at 18:21 -0300, Marlon Brandão de Sousa wrote:

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

Other related posts: