sure - do exactly as you described. just because a variable is appended to a url, doesn't mean it HAS to be used in an SQL statement. It can be used for anything you like - even ignored... :)
-----Original Message----- From: lmlweb [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 02, 2002 2:56 PM To: [EMAIL PROTECTED] Subject: [PHP] Can I use variable appended to the end of a link if I'm not using it for SQL query? For example, on a page, I have this link: <a href="http://www.website.com/register.html?select=$title">$title</a> where $title is whatever the database spits up on a previous query. Now I want to be able to carry that $title onto the next page, which is a form mail for registering for the events, without having to use database. Basically I want to be able to set the form up so it says: To register for $title, please fill out the form: who: ____ what: _____ where: _____ [submit] [reset] and when it's submitted the mail() function will have an subject heading that consits of "$title Registration" is that possible? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php