[thelist] Passing data in HTML

Paul Bennett Paul.Bennett at wcc.govt.nz
Sun Apr 2 17:09:03 CDT 2006

Passing data?

$_GET (default form action) will pass data in the query string (eg: pypage.html?stuff=1&this=2)
Data is accessible in the receiving script by referencing the $_GET array

$_POST <form action="post"...> will pass data errr...not in the query string and is accessible in the  
receiving script by referencing the $_POST array

For persistent use, SESSION data is your friend. Set session vars by using $_SESSION['myvar'] = $someValue.

Hopefully it's like riding a bike and after a while it'll all start coming back to ya!


-----Original Message-----
From: thelist-bounces at lists.evolt.org [mailto:thelist-bounces at lists.evolt.org] On Behalf Of Ken Moore
Sent: Monday, April 03, 2006 10:01 AM
To: thelist at lists.evolt.org
Subject: [thelist] Passinig data in HTML

Hi all,

I am just now getting back into web design after a 2 year lay off  so I am 
having trouble remembering how to do things. I need to pass about 4 to 8 
pieces of information between two pages. I need to allow them to enter on 
one page and then use that info on any number of  several forms.  The first 
page looks something like this.

Item One:
Item Last:

Form 1
Form Last

Each form opens a new window. All of the items are in text boxes. I use PHP 
in Dreamweaver 8.

Please help.


Express yourself instantly with MSN Messenger! Download today - it's FREE! 


* * Please support the community that supports you.  * *

For unsubscribe and other options, including the Tip Harvester 
and archives of thelist go to: http://lists.evolt.org 
Workers of the Web, evolt ! 

More information about the thelist mailing list