RE: [PHP] Can I use variable appended to the end of a link if I'm not using it for SQL query?

From: Date: Tue, 02 Apr 2002 05:01:26 +0000
Subject: RE: [PHP] Can I use variable appended to the end of a link if I'm not using it for SQL query?
Groups: php.general 
Request: Send a blank email to php-general+get-91073@lists.php.net to get a copy of this message
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:junkit@lmlweb.com] Sent: Tuesday, April 02, 2002 2:56 PM To: php-general@lists.php.net 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

« previous php.general (#91073) next »