Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> NSN Other
Author Message
FatGiant
New Member
New Member



Joined: Jan 09, 2005
Posts: 13

PostPosted: Wed Nov 08, 2006 6:36 pm Reply with quote

Hi,

I've been trying but I don't know enough to get anywhere...

Is it possible to change the dropdown box with categories in the Submit Downloads to radio buttons ?

I want the uploader to choose one of the 6 categories, and the dropdown isn't helping.

I wanted something like this...

Code:


            echo"                  <p align=\"center\"><table border=\"1\" width=\"25%\">"
  . "              <tr>"
  . "                    <td>&nbsp;</td>"
  . "                    <td>PT-PT</td>"
  . "                    <td>PT-BR</td>"
  . "                    <td>Não PT</td>"
  . "              </tr>"
  . "              <tr>"
  . "                    <td>Filmes</td>"
  . "                    <td><input type=\"radio\" value=\"3\" checked></td>"
  . "                    <td><input type=\"radio\" value=\"4\"></td>"
  . "                    <td><input type=\"radio\" value=\"5\"></td>"
  . "              </tr>"
  . "              <tr>"
  . "                    <td>Seriados</td>"
  . "                    <td><input type=\"radio\" value=\"7\"></td>"
  . "                    <td><input type=\"radio\" value=\"8\"></td>"
  . "                    <td><input type=\"radio\" value=\"9\"></td>"
  . "              </tr>"
  . "              </table></p>"
 ."";


Instead of the list box...

But, in that example, they all can be selected, and, the value isn't attributed...

I am at my witts end...

Thankyou all... Yeahhh I'm n00b...
 
View user's profile Send private message
evaders99
Former Moderator in Good Standing



Joined: Apr 30, 2004
Posts: 3221

PostPosted: Wed Nov 08, 2006 7:18 pm Reply with quote

All the radio buttons you want in the same group need to have the same name

_________________
- Only registered users can see links on this board! Get registered or login! -

Need help? Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
FatGiant







PostPosted: Wed Nov 08, 2006 7:35 pm Reply with quote

evaders99 wrote:
All the radio buttons you want in the same group need to have the same name


Thanks...One less mistake to make...

ok... that's one... Smile

and how the heck do I assign a value to the variable ?

And wich one is it ???

hehe... I been looking at this for 2 days, am I dumb or what ? Sad
 
evaders99







PostPosted: Wed Nov 08, 2006 10:13 pm Reply with quote

I'm not sure exactly what you mean

Code:


<input type=\"radio\" name=\"variablename\" value=\"7\">


So if you select that radio, it should create a $variablename and set it equal to 7
 
FatGiant







PostPosted: Wed Nov 08, 2006 10:43 pm Reply with quote

Thanks a Million............

Really... I made it... with your help... Thanks...
 
evaders99







PostPosted: Wed Nov 08, 2006 11:46 pm Reply with quote

Glad you got it to work!
 
FatGiant







PostPosted: Thu Nov 09, 2006 2:23 am Reply with quote

evaders99 wrote:
Glad you got it to work!

hehe

It took me quite a while... Sad

Only registered users can see links on this board! Get registered or login!
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> NSN Other

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©