Forums

PHP

This topic is locked

listings

Posted 25 Jan 2002 15:52:58
1
has voted
25 Jan 2002 15:52:58 enquest enquest1 posted:
How to,
(I hope this question doesn't make me look stupid)
I want to make the following form.
You only once say the code like “BS1” and then you select the colours with check boxes.
So that the output looks like this example. I want this in this way so that I can use horizontal looper to output the colours with the connected code.

Code colour
BS1 RED
BS1 BLUE
BS1 GREEN
BS2 PURPLE
BS3 RED
ETC ETC

What I don’t get (and this is probably simple) how to make the form. How do you make sure that every value is put on the next line with the code. So the output is like the example.
(Maybe you going to say us an Array and explode and so on but then I cannot use horizontal looper. Updating with an array would make things only complicated for me.)



Replies

Replied 30 Jan 2002 10:41:19
30 Jan 2002 10:41:19 enquest enquest1 replied:
Nobody ?

I would imagine it would be something like (pseudo code)
<input colour one, input code>
<input colour one, input code = $Nextrecord)>
<input "" "" >

But how I don't know or am not finding how, not on this forum or by my self!

thanxs

Reply to this topic