Greetings,
I'm trying to use the header function to re-direct a browser. I am also using session variables.
I've read that both start_session and header commands have to placed before any output. What comes first when I'm using both. I tried the following;
===============================
login.php
user logs in, authenticate user, register variables
=============================
<?php
session_start();
?>
user fills out data, presses submit button to save data
=============================
<?php
session_start();
Header("Location: save.php");
?>
re-directed to page that error-checks and writes to database
=============================
The page just hangs when the submit button is pressed.