Forum OpenACS Q&A: Tcl question

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] } {
        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?