Jump to content

Check out our Community Blogs

Register and join over 40,000 other developers!

Recent Status Updates

View All Updates

- - - - -

put a value from mysql into select

registration mysql

  • Please log in to reply
26 replies to this topic

#25 qnstner


    CC Newcomer

  • Just Joined
  • PipPip
  • 15 posts

Posted 10 February 2010 - 04:05 AM

My bad, i think i was blind when programmed it, thanks alot.
It worked perfectly. :)
  • 0

#26 qnstner


    CC Newcomer

  • Just Joined
  • PipPip
  • 15 posts

Posted 12 February 2010 - 02:19 AM

i have one more question about this.
How can i select mutiple options and perform the action on all selected?

i know that in the html file the only thing i have to do is to change select form to
<select mutiple>

But is this possible in the PHP file with an array or something?
  • 0

#27 Orjan


    CC Mentor

  • Moderator
  • 2918 posts
  • Location:Karlstad, Sweden
  • Programming Language:C, Java, C++, C#, PHP, JavaScript, Pascal
  • Learning:Java, C#

Posted 16 February 2010 - 06:27 AM

you need to set the name of the control to end with [] in your html, then all selected will end up within an array in PHP


<select multiple="multiple" name="myselect[]">

  • 0

I'm a System developer at XLENT Consultant Group mainly working with SugarCRM.
Please DO NOT send mail or PM to me with programming questions, post them in the appropriate forum instead, where I and others can answer you.

Also tagged with one or more of these keywords: registration, mysql

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download