Posted by JDS on 01/11/06 14:36
On Sat, 07 Jan 2006 04:13:28 +0000, Oujdeivß wrote:
> part2.php does some work and has a result that you want returned to
> part1.php
2 possible ways, (probably more)
1) just go back to part1.php with the values you need in the query string:
part1.php?value1=100&value2=200
You can jump back to part1.php without user intervention by using the
"Location:" header:
<?>php
header("Location: part1.php?value1=100&value2=200");
exit;
?>
(Always "exit;" after a Location: header!)
2) Sessions
--
JDS | jeffrey@example.invalid
| http://www.newtnotes.com
DJMBS | http://newtnotes.com/doctor-jeff-master-brainsurgeon/
Navigation:
[Reply to this message]
|