Forum Moderators: coopster

Message Too Old, No Replies

Passing variables

         

crenshawdesignz

3:03 am on Apr 24, 2006 (gmt 0)

10+ Year Member



I am trying to create a small application that does the following.

Create a form elements where a 4 digit code is entered.

Submit sends user to a new page that shows the 4 digit code and all of the programs associated with that code.

Example
0400 dance
0400 solitaire
0400 band

The user chooses 0400 dancewith a link where only the members of that group are displayed.

Let me know if I need to submit more.

coopster

4:29 am on Apr 24, 2006 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Welcome to WebmasterWorld, crenshawdesignz.

Yes, you can do that. You need to pass the POSTed value submitted to the next page which will use the value to do the lookup.

crenshaw

6:08 pm on Apr 24, 2006 (gmt 0)

10+ Year Member



OK. I have been working on this again today.

If I want to pass the URL variable Unit what steps do I take? More than that, where can I read about what to do?

Please understand that your help is invaluable but if I can learn a little I can help someone some day too.

Thanks to anyone who assists me with this answer.

crenshaw

6:09 pm on Apr 24, 2006 (gmt 0)

10+ Year Member



Coopster,

Thanks for the reply. You were quick and helpful. Thanks again.

coopster

9:58 pm on Apr 30, 2006 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



You are welcome. Forms processing is a common practice. Basically you pass input fields from screen to screen using hidden form fields, url query strings, cookies or sessions. If you are stuck you can often find some decent tutorials on zend.com.

crenshaw

1:31 pm on May 1, 2006 (gmt 0)

10+ Year Member



I will go to Zend.com and begin reading those tutorials. Thanks for the response. I think this forum is great.

Marc