Re: [PHP] Help with session variables

2002-12-04 Thread Stephen
. session_start(); echo $HTTP_SESSION_VARS['step']; // You can echo it out straight, don't need to extract it Hope it works! - Original Message - From: Manuel Ochoa [EMAIL PROTECTED] To: PHP General [EMAIL PROTECTED] Sent: Wednesday, December 04, 2002 1:12 AM Subject: [PHP] Help with session

[PHP] Help with session variables

2002-12-03 Thread Manuel Ochoa
I'm running PHP 4.3 on a Windows .net server with Apache 2. Please look at the following code as I cannot figure out what I'm doing wrong. Page1. session_start(); session_register(step); $step=1; header(location: page_A.php); Page_A. session_start(); extract($_SESSION); $step=2;

Re: [PHP] Help with session variables

2002-12-03 Thread Jason Wong
On Wednesday 04 December 2002 14:12, Manuel Ochoa wrote: I'm running PHP 4.3 on a Windows .net server with Apache 2. Please look at the following code as I cannot figure out what I'm doing wrong. Page1. session_start(); session_register(step); $step=1; header(location: page_A.php);

[PHP] help with session variables

2002-11-28 Thread Thomas Goeminne
? include ('./header.php'); $query=select prodid, title FROM fatbeats_prod; $result= mysql_query($query); $names= mysql_fetch_assoc($result); $query1=select prodid, price from fatbeats_prod; $result1=mysql_query($query1); $prices= mysql_fetch_assoc($result1); while (list($key,$val) =