Forum Moderators: coopster

Message Too Old, No Replies

Passing Parameters to Php/HTML

Newbie question on passing parameters thru URL

         

kenchix1

7:52 am on May 26, 2005 (gmt 0)

10+ Year Member



Hi, Im new here and so with PHP. I know how to use MySQL so my questions are mostly on PHP area.

I would like to have a form where people can enter their username and I will and return the items that they own.

What I know is:
First I need an HTML page with a form where they will enter the username in which I will put the code:


<form name="form1" method="post" action="">
<input type="text" name="id1">
<input type="submit" name="Submit" value="Submit">
</form>

Then, I will put the [mymodule].php in the "action" field.

Now, my problem is I don't know how I will parse/catch the data from the form so I can use it to process my query inside [mymodule].php. :(

Please help.

Thanks in advance.

dreamcatcher

8:36 am on May 26, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to Webmaster World Kenchix1. :)

Try this post:
http://www.webmasterworld.com/forum88/5531.htm [webmasterworld.com]

dc

kenchix1

9:15 am on May 26, 2005 (gmt 0)

10+ Year Member



thank you sir. :)