<p>can anybody show me how to build a string using checkbox. what would be the best way to do this.</p>

<p>for example i have 4 checkbox's each with its own value (valueA, valueB, valueC, valueD)
the thing is i want to display each result in different lines.</p>

<p>result if B &amp; C is selected : </p>

<p>valueB <br>
valueC </p>

<p>and how would i display this again if i saved this into a database?</p>

```
```
"if I saved this into a database" ?
```
```
You'll need to be a bit more specific with your homework assignments if you're actually going to receive any help here ...
Edit:
ok, it
might
not be homework but it certainly read like it - after all, manipulating a GUI to generate a view of the user's choices is Interfaces 101 - and even it wasn't it was a terrible question without enough detail to have any chance of getting a decent answer.