Jump to content


Check out our Community Blogs

Register and join over 40,000 other developers!


Recent Status Updates

View All Updates

Photo
- - - - -

How to insert checkboxes values into mysql

images mysql

  • Please log in to reply
2 replies to this topic

#1 ikolwon

ikolwon

    CC Lurker

  • Just Joined
  • Pip
  • 1 posts
  • Location:PNG
  • Programming Language:Java, C++, PHP, (Visual) Basic, JavaScript, Visual Basic .NET
  • Learning:Python, Visual Basic .NET, VBScript

Posted 31 August 2012 - 02:02 PM

I am new to PHP. I am trying to design a student selection system where when values in checkbox are selected, it should be inserted into Mysql database. Each value should be in a separate row.
Your help will be highly appreciated.
  • 0

#2 VNFox

VNFox

    CC Devotee

  • Senior Member
  • PipPipPipPipPipPip
  • 648 posts
  • Programming Language:C#, PHP
  • Learning:Assembly

Posted 31 August 2012 - 02:10 PM

Checkbox checked should be a tinyint(1) .... should be 0 or 1.
  • -1

www.pickmike.com
I don't just develop software. I find solutions to your business needs.


#3 rhossis

rhossis

    CC Resident

  • Advanced Member
  • PipPipPipPip
  • 98 posts
  • Programming Language:Java, PHP, (Visual) Basic
  • Learning:C, C++, Others

Posted 04 September 2012 - 12:05 AM

Hey,

We may need more information about your issue. Would you like a solution on the database design or the php code that processes the form data once posted by user?
  • 0





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

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