PHP Web Host - Quality Web Hosting For All PHP Applications Sign up for PayPal and start accepting credit card payments instantly
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
FatGiant
New Member
New Member


Joined: Jan 09, 2005
Posts: 13

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

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
Moderator


Joined: Apr 30, 2004
Posts: 2853

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

All the radio buttons you want in the same group need to have the same name
View user's profile Send private message Visit poster's website
FatGiant
New Member
New Member


Joined: Jan 09, 2005
Posts: 13

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

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
View user's profile Send private message
evaders99
Moderator


Joined: Apr 30, 2004
Posts: 2853

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

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
View user's profile Send private message Visit poster's website
FatGiant
New Member
New Member


Joined: Jan 09, 2005
Posts: 13

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

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

Really... I made it... with your help... Thanks...
View user's profile Send private message
evaders99
Moderator


Joined: Apr 30, 2004
Posts: 2853

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

Glad you got it to work!
View user's profile Send private message Visit poster's website
FatGiant
New Member
New Member


Joined: Jan 09, 2005
Posts: 13

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

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 to the forums!
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2008 by Raven
Proud to be listed at Lobo Links Web Directory

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::

:: fisubice Theme Recoded To 100% W3C CSS & HTML 4.01 Transitional Compliance by Raven and 64bitguy ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum