...

View Full Version : mySQL and checkbox



aleahl213
04-02-2010, 04:59 PM
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

Fumigator
04-02-2010, 05:37 PM
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.

aleahl213
04-02-2010, 05:44 PM
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

Fumigator
04-02-2010, 06:02 PM
I would just use the primary key of the table to identify which image has been selected.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum