Forum Moderators: coopster

Message Too Old, No Replies

problem processing radio and drop down lists in php

what vars do i use?

         

flying monkey

3:14 am on Jan 23, 2004 (gmt 0)

10+ Year Member



i am making a site in wich i am making a updateable page so the person does not have to know code. will they have a choice of updating either area of the page by picking a radio button or from a list. know i dont know how to use the slection on the next page so i can differ which part they want to edit. please help. thanks

BitBanger

1:10 pm on Jan 23, 2004 (gmt 0)

10+ Year Member



You are not giving us much to go on. A little more detail would help.

Anyway, Here is something that you can put in second page that will make figuring out how to get at the data much easier. Just put the following near the top of the second page:


printf("POST:<br /><pre>");print_r($_POST);printf("</pre>");
printf("GET:<br /><pre>");print_r($_GET);printf("</pre>");

This will dump to the browser the contents of the _POST and _GET variables.

flying monkey

11:15 pm on Jan 23, 2004 (gmt 0)

10+ Year Member



well there are two choices. the choice is the contents area to update or to insert the text to. so i need to know how i would get the vars for the radio buttons or a list. ill try the suggestion u gave me.

flying monkey

5:01 am on Jan 26, 2004 (gmt 0)

10+ Year Member



cool thanks that helped.