Home
The Toolkit for Online Communities
15939 Community Members, 0 members online, 2324 visitors today
Log In Register

Forum OpenACS Q&A: Tcl question

OpenACS Home : Forums : OpenACS Q&A : Tcl question

Icon of Envelope Request notifications

+
Posted by Brian Mueller on
I don't understand whats wrong here: the first getrow in the second
foreach loop (after writing "<li>communities") fails:

foreach section_key { elearning communities garden } {
        ns_write "<li>$section_key"
        set selection [ns_db select $db "
        select one_line from bboard"]
        while { [ns_db getrow $db $selection] } {
        set_variables_after_query
        ns_write "<li>$one_line"
        }
}

Say the word if you want me to go elsewhere with tcl questions like
this - it will not be the last.

+
2: Response to Tcl question (response to 1)
Posted by Jacques Williams on
What does the error log say?