[PHP-DB] Don't mean to be repetitive - Session Variables

2004-10-11 Thread Stuart Felenstein
I can't seem to figure this out. Right now I'm still trying to get the multi page form down. For the facts, running php 4.3.8, apache 1.3.x Register Globals are enabled So I'm starting the pages with: ?php session_start(); ? Now since this is a form, the user creates the value for the variable,

Re: [PHP-DB] Don't mean to be repetitive - Session Variables

2004-10-11 Thread Jason Wong
On Monday 11 October 2004 16:47, Stuart Felenstein wrote: I can't seem to figure this out. Right now I'm still trying to get the multi page form down. For the facts, running php 4.3.8, apache 1.3.x Register Globals are enabled If you don't have a specific reason for this to be enabled you

Re: [PHP-DB] Don't mean to be repetitive - Session Variables

2004-10-11 Thread Stuart Felenstein
--- Jason Wong [EMAIL PROTECTED] wrote: If you don't have a specific reason for this to be enabled you should disable it. I don't control it. On a shared server. Question 1: is this enough to register the session variable ? No. You should read (repeatedly if necessary) manual

Re: [PHP-DB] Don't mean to be repetitive - Session Variables

2004-10-11 Thread Stuart Felenstein
--- Jason Wong [EMAIL PROTECTED] wrote: The point is that you should understand *what* is going on with the examples. It's only when you've understood something that you can then apply it to other situations. Your right and I agree with you. My perspective is that the example(s) in the

Re: [PHP-DB] Don't mean to be repetitive - Session Variables

2004-10-11 Thread Stuart Felenstein
I think I found the correct way. By registering the session variable in the next page is how they take. Form Page 1 - collect user input Form Page 2 - $_SESSION['name'] = $POST['myane']; This sound right? Stuart --- Stuart Felenstein [EMAIL PROTECTED] wrote: --- Jason Wong [EMAIL

Re: [PHP-DB] Don't mean to be repetitive - Session Variables

2004-10-11 Thread Jason Wong
On Monday 11 October 2004 19:42, Stuart Felenstein wrote: I think I found the correct way. By registering the session variable in the next page is how they take. Form Page 1 - collect user input Form Page 2 - $_SESSION['name'] = $POST['myane']; This sound right? Yes (aside from the typos

Re: [PHP-DB] Don't mean to be repetitive - Session Variables

2004-10-11 Thread Stuart Felenstein
Jason, thank you for all the help today! It's all working now. However, warning: I maybe back when I try to slam it all into the database. Stuart --- Jason Wong [EMAIL PROTECTED] wrote: On Monday 11 October 2004 19:42, Stuart Felenstein wrote: I think I found the correct way. By

Re: [PHP-DB] Don't mean to be repetitive - Session Variables

2004-10-11 Thread Stuart Felenstein
I may have spoken too soon. Having one minor problem with getting an array (from a multiple select) to print out. Anyone see anything wrong here : Here is registering session array: if ( empty( $_SESSION['l_industry'] ) ) { $_SESSION['l_industry']=array(); } if ( is_array(

Re: [PHP-DB] Don't mean to be repetitive - Session Variables

2004-10-11 Thread dpgirago
Have you assigned the values in the $_SESSION['l_industry'] array to those specific local variables, $l_industry['0'], $l_industry['1']... ? dave Stuart Felenstein [EMAIL PROTECTED] 10/11/2004 10:20 AM To: [EMAIL PROTECTED] cc: Subject: Re: [PHP-DB] Don't mean

Re: [PHP-DB] Don't mean to be repetitive - Session Variables

2004-10-11 Thread Stuart Felenstein
'], $l_industry['1']... ? dave Stuart Felenstein [EMAIL PROTECTED] 10/11/2004 10:20 AM To: [EMAIL PROTECTED] cc: Subject: Re: [PHP-DB] Don't mean to be repetitive - Session Variables I may have spoken too soon. Having one minor problem