RE: [PHP] RE: is there way to pass an array( or variables) to another page without sessions or cookies?

From: Date: Tue, 05 Jul 2005 12:28:42 +0000
Subject: RE: [PHP] RE: is there way to pass an array( or variables) to another page without sessions or cookies?
Groups: php.general 
Request: Send a blank email to php-general+get-218123@lists.php.net to get a copy of this message
[snip] Can you give me a quick emaple of how this would work, with an array. I have an array of errors ($errors[]) for a form, when the errors are trigger, I am trying to send them to a window which tells them what the errrors are. I don't really want to get into sessions or cookies. [/snip] The errors are contained in form fields and you have used one of two methods to transmit form information in the form method statement, GET or POST. In your processing script use a print_r to see the array depending on the method chosen. print_r($_GET); or print_r($_POST); It strikes me that I might not have all of the information needed to help you. (call it a hunch) A sample of your form code where the error array is formed would be helpful.

« previous php.general (#218123) next »