Hello Stuart,
Thursday, November 4, 2004, 10:20:04 AM, you wrote:
if (isset($_POST['var']))
{
$_SESSION['var'] = $_POST['var'];
}
When you now redirect to Page 2 upon an error, it'll
skip this block
because the $_POST var won't exist.
SF I'm a bit confused, this fixes the problem ?
Hello Stuart,
Thursday, November 4, 2004, 10:55:42 AM, you wrote:
SF The variable is alive with any of the code including the one I had
SF originally. It seems to do a reset though when it's redirected.
SF $_SESSION['f1a'] = $_POST['ListingName'];
This won't have any effect if you don't
--- Richard Davey [EMAIL PROTECTED] wrote:
Try sticking this on Page 2 (ensure you have a
session_start() at the
top of the page and that you replace the 'var' text
below with the
correct ones.
if (isset($_POST['var']))
{
echo 'POST value found, setting the session var
now';
3 matches
Mail list logo