Home | Community | Message Board

Cannabis Seeds Zamnesia
This site includes paid links. Please support our sponsors.


Welcome to the Shroomery Message Board! You are experiencing a small sample of what the site has to offer. Please login or register to post messages and view our exclusive members-only content. You'll gain access to additional forums, file attachments, board customizations, encrypted private messages, and much more!

PhytoExtractum Shop: Maeng Da Thai Kratom Leaf Powder

Jump to first unread post Pages: 1
Offlinestefan
work in progress


Registered: 04/11/01
Posts: 8,932
Loc: The Netherlands
Last seen: 3 years, 3 months
my simple programming questions thread (javascript + html)
    #8333444 - 04/27/08 07:57 AM (15 years, 8 months ago)

I'm working on a website with a friend
we have a form on it, that must be editable for all (like a wiki)
we can retrieve text box information from the database, but somehow not for the checkboxes:confused:
(My friend is doing the database stuff and I add some more simple fetures and css coding)


How can I check a checkbox with data out of an SQL database?
-->problem solved, my friend found out how to:)


Extras: Filter Print Post Top
OfflineGainer
Syzurp
 User Gallery


Registered: 10/20/04
Posts: 1,468
Loc: Ðirty §outh
Last seen: 6 days, 19 hours
Re: programming question: checkboxes and database (javascript) [Re: stefan]
    #8333832 - 04/27/08 11:49 AM (15 years, 8 months ago)

So I think what your trying to do is something like this..
Code:

EditButtonClick(){

bool a = null;

a = databaseQuery();

checkbox.setValue(a);


}



Thats just pseudocode but I think you want to do something like that I'm not very familiar with databases so I'm not sure what the query would look like. Haven't used any checkboxes before either but they should work someway similar to that. Hope that helps. What language are you programing in?
-Edit I just noticed you said javascript.
Haven't done much javascript but in a java would something like that sure javascript isn't much different.


--------------------
"I mean, it's like a koala bear crapped a rainbow in my brain!"
-Captain Murphy

"Quit being a bitch and pill me up"
-Dr. Quinn

"Smoke that bitch"
"I am not Stormy, I am He who smokes Bitches!"
-Stormy


Edited by Gainer (04/27/08 11:50 AM)


Extras: Filter Print Post Top
Offlinestefan
work in progress

Registered: 04/11/01
Posts: 8,932
Loc: The Netherlands
Last seen: 3 years, 3 months
Re: programming question: checkboxes and SQL database (javascript) [Re: stefan]
    #8336594 - 04/28/08 02:37 AM (15 years, 8 months ago)

This thread was moved from The Pub.

Reason:
I realized that it wasn't the right forum to ask, so I hope I'll have better luck here

my friend already found out how it worked:cool:

now I'll keep this open in case if I have another question:thumbup:


Extras: Filter Print Post Top
Offlinestefan
work in progress


Registered: 04/11/01
Posts: 8,932
Loc: The Netherlands
Last seen: 3 years, 3 months
Re: programming question: checkboxes and SQL database (javascript) [Re: stefan]
    #8338262 - 04/28/08 04:43 PM (15 years, 8 months ago)

is there an easy way to make a html table/form that is read only, editable with an edit button?

just the same form, but shown read only, or writable. kind of a wiki really..

cant find anything on this, maybe I'm looking wrong


Extras: Filter Print Post Top
Jump to top Pages: 1

PhytoExtractum Shop: Maeng Da Thai Kratom Leaf Powder


Similar ThreadsPosterViewsRepliesLast post
* Coders... I need a little javascript help! ilus 588 4 02/15/08 04:36 PM
by ilus
* sql getting started strangladesh 830 15 11/29/06 12:04 PM
by tak
* Re-install Javascript Blastrid 1,014 8 06/20/04 02:13 PM
by Blastrid
* I need help wiring a 12v dc SQL cage fan SteakNMushVroom 3,891 19 12/14/09 03:05 AM
by SteakNMushVroom
* moving programs/folders teardrop 1,069 4 11/12/02 11:12 AM
by JovialLeprechaun
* question about cable modem w/router youtelephonecall 1,456 3 10/25/02 04:16 AM
by Ythan
* Looking for a program. Pinhead 1,028 7 08/30/03 09:14 PM
by bivalve
* Downloading a super duper big program... Stein 862 2 10/28/03 01:24 PM
by TinMan

Extra information
You cannot start new topics / You cannot reply to topics
HTML is disabled / BBCode is enabled
Moderator: trendal, automan, Northerner
716 topic views. 0 members, 0 guests and 3 web crawlers are browsing this forum.
[ Show Images Only | Sort by Score | Print Topic ]
Search this thread:

Copyright 1997-2024 Mind Media. Some rights reserved.

Generated in 0.02 seconds spending 0.004 seconds on 12 queries.