Home > Archive > alt.os.linux > October 2002 > passing variables





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author passing variables
Trojan

2002-10-04, 6:25 am

i have a html file w/ the following tags:
<form action="action.php" method="get">
Search for this file: <input name="string" type="text">
<input type="submit" value="Search">
</form>

how do i pass the variable "string" to action.php. what inside my php script
will let me access that input from the text box???
i read something about saving it to a file, but that didn't seem right.
Sybren

2002-10-04, 9:25 am

Trojan wrote:

> i have a html file w/ the following tags:
> <form action="action.php" method="get">
> Search for this file: <input name="string" type="text">
> <input type="submit" value="Search">
> </form>
>
> how do i pass the variable "string" to action.php. what inside my php
> script will let me access that input from the text box???
> i read something about saving it to a file, but that didn't seem right.


Try google. try a newsgroup that fits the question. try thinking for a
while.
Sponsored Links





Free Braindumps | MCSE braindumps software forum

Copyright 2003 - 2008 examnotes.net