RE: POST problem, extended

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



<?php
session_start(); //session start needs to be on every page that uses sessions


if (isset($_POST['Body'])){  $_SESSION['mailtxt'] = $_POST['Body'];  }

?>

From: "H. J. Wils" <double_u1@xxxxxxxxxxx>
To: php-db@xxxxxxxxxxxxx
Subject:  POST problem, extended
Date: Fri, 03 Dec 2004 23:09:18 +0100



simplified, my code is as follows:
---------------------------------------------------- document --------------------------------------
<?php


$_SESSION['mailtxt'] = $_POST['Body'];

?>

<form>
<textarea name='body'><?php  $_SESSION['mailtxt'] ?></textarea>
<input type=submit>
</form>

recalling: in some way, is de session variable not filled with the POSTed value...

---------------------------------------------------- end document --------------------------------

_________________________________________________________________
MSN Search, for accurate results! http://search.msn.nl

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


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


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux