Re: [PHP] Session and validation

2004-10-30 Thread Chris Shiflett
--- Stuart Felenstein [EMAIL PROTECTED] wrote: I had this thread going yesterday. Then basically think it reached a stalemate. I think you need to try to simplify your code to the most basic example that demonstrates the problem. By doing this, you'll achieve one of two things: 1. Figure out

Re: [PHP] Session and validation

2004-10-30 Thread Stuart Felenstein
--- Chris Shiflett [EMAIL PROTECTED] wrote: --- Stuart Felenstein [EMAIL PROTECTED] wrote: I had this thread going yesterday. Then basically think it reached a stalemate. I think you need to try to simplify your code to the most basic example that demonstrates the problem. By doing

RE: [PHP] Session and validation

2004-10-30 Thread Stuart Felenstein
--- Graham Cossey [EMAIL PROTECTED] wrote: So, if this is the result of a form submission how are you getting the POST variables? How/where is $industry being set? I appears that you are assuming that variables are 'maintained' within a script, they are not. You have to remember that

RE: [PHP] Session and validation

2004-10-30 Thread Graham Cossey
[snip] Here is the example: testarray (page1) //Start the session ?php session_start(); //Check for the array on submit if ( empty( $_SESSION['l_industry'] ) ) { $_SESSION['l_industry']=array(); } $industry = $_POST['industry']; // ?? //Check to make sure user didnt exceed 5

Re: [PHP] Session and validation

2004-10-30 Thread Jason Wong
On Saturday 30 October 2004 10:27, Stuart Felenstein wrote: --- Chris Shiflett [EMAIL PROTECTED] wrote: --- Stuart Felenstein [EMAIL PROTECTED] wrote: I had this thread going yesterday. Then basically think it reached a stalemate. I think you need to try to simplify your code to the

[PHP] Session and validation

2004-10-29 Thread Stuart Felenstein
I had this thread going yesterday. Then basically think it reached a stalemate. I'm wondering has anyone setup forms using session variables and validation. Validation where the validating is done on the same page, and the redirected on success ? Maybe that is my problem , that session

RE: [PHP] Session and validation

2004-10-29 Thread Pablo Gosse
[snip] I had this thread going yesterday. Then basically think it reached a stalemate. I'm wondering has anyone setup forms using session variables and validation. Validation where the validating is done on the same page, and the redirected on success ? [/snip] You need a class which will

RE: [PHP] Session and validation

2004-10-29 Thread Vail, Warren
, October 29, 2004 4:23 PM To: Stuart Felenstein; [EMAIL PROTECTED] Subject: RE: [PHP] Session and validation [snip] I had this thread going yesterday. Then basically think it reached a stalemate. I'm wondering has anyone setup forms using session variables and validation. Validation where