Thanks for the tips.

After clicking http://www.mydomain.com/processForm.php?id=<some id> is 'id'
a variable containing 'some id'.  Can I access that by '$id'

I am just trying to figure out how to write the SELECT statement for that
script.  I am guessing, but I would do:
    "SELECT * FROM temp_users WHERE ID=$id"

Thanks again.

Aaron


"John Nichel" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
On Tuesday 03 August 2004 13:32, Aaron Todd offered up the following tid-bit
of information :
> I like both of these methods...Is one of them more used regularly with
> PHP. I don't want to start down a road that will eventually dead end if
> you know what I mean.
>
> Thanks,
>
> Aaron
<snip>
>
> B)  Store all the info that is entered in your form in a temporary table,
> with a unique id, and attach that id to the link in your email, eg.
>
> http://www.mydomain.com/processForm.php?id=<some id>
>
> And have the script (processForm.php), read the info from the temporary
> table and insert it into it's final destination.

I don't know if it's more common, but I would use the second option to do
something like this.  No 'personal' infomation is passed to the script via
http.

-- 
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
[EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to