Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New to the CF scene
    Join Date
    Jul 2009
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question mySQL and checkbox

    Hey!
    I do database stuff for and build on a CMS system. So I thought that users could choose between images by using the checkbox. And then the URL to the image/images appear in the database and could only be extracted from the database as usual info in a database ... I know this is possible but I do not know how to do it. Can Anybody help me?

    -Aleex
    Last edited by aleahl213; 04-02-2010 at 06:15 PM.

  • #2
    UE Antagonizer Fumigator's Avatar
    Join Date
    Dec 2005
    Location
    Utah, USA, Northwestern hemisphere, Earth, Solar System, Milky Way Galaxy, Alpha Quadrant
    Posts
    7,691
    Thanks
    42
    Thanked 637 Times in 625 Posts
    Which part of the process are you having trouble with? If it's just a generall overall understanding of how you insert data and select data out of a MySQL database, you can find plenty of tutorials online-- try Google.

  • #3
    New to the CF scene
    Join Date
    Jul 2009
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by Fumigator View Post
    Which part of the process are you having trouble with? If it's just a generall overall understanding of how you insert data and select data out of a MySQL database, you can find plenty of tutorials online-- try Google.
    I understand that,, The problem is to insert the true false valu and to get it to show up only a image tag that have a valu of true.

    -Aleex

  • #4
    UE Antagonizer Fumigator's Avatar
    Join Date
    Dec 2005
    Location
    Utah, USA, Northwestern hemisphere, Earth, Solar System, Milky Way Galaxy, Alpha Quadrant
    Posts
    7,691
    Thanks
    42
    Thanked 637 Times in 625 Posts
    I would just use the primary key of the table to identify which image has been selected.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •