more on HTTP post variables
| From: | weifan agusman | Date: | Fri, 13 Jun 2003 04:09:41 +0000 |
| Subject: | more on HTTP post variables | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-20297@lists.php.net to get a copy of this message | ||
Another newbie on PHP here. say I have this simple PHP code:
<HTML><HEAD>
<TITLE>Simple Input</TITLE>
</HEAD><BODY>
<FORM ACTION="post.php" METHOD="post">
Your name: <BR>
<INPUT TYPE="text" NAME="name"><BR>
<INPUT TYPE="submit">
<INPUT TYPE="reset"></FORM>
</BODY></HTML>
So I'm sending 'name' to post.php but I also want to send another variable, say
'school' which has a fixed default value. But of course I dont need to (and don't
want to) put the 'school' field on the form.
So question is how do I send the school value when the submit button is pressed?
thanks in advance.
weifan
____________________________________________________________
Get advanced SPAM filtering on Webmail or POP Mail ... Get Lycos Mail!
http://login.mail.lycos.com/r/referral?aid=27005