If you want to pass more than one variable via GET, you need to use an
ampersand (&) character for the variables after the first one (still using a
question mark for the first).

So in your case, you can have this:


Then within your send_email.php script, you can access $from which will have
the value 25 upon entry to your script.


Sam Masiello
Software Quality Assurance Engineer
(716) 853-1362 x289

 -----Original Message-----
From:   Jeff Lewis [mailto:[EMAIL PROTECTED]]
Sent:   Wednesday, July 11, 2001 10:22 AM
Subject:        [PHP] Easy question...grabbing variables...

Um, been using PHP for awhile now and don' even know how to grab these:


I have usually only passed one variable before so all I've need to do is
$toID=$to but how do I get from?  I know I should know this but I am either
having a major brain fart or missed this in PHP 101 ;)


PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to