Hello all,

Well it's Monday :( and my code wont work.

I have a form that dynamically produces tables.  From each cat_detail
any of the checkboxes can be picked, be it the detail itself, levels 1
or 2 or 3, and or a 'yes'.

I can capture the cat_detail in the prob[] array in the next page.  I
can also echo any of the other check boxes if picked.  My problem is
corresponding the detail with the levels. In other words: say you have
two rows and each item has a checkbox that can be checked.

1.  Bad product      1 2 3 yes
2.  Bad Cust Service 1 2 3 yes
3.  etc
4.  etc

Say the user picks # 2 with level 3 and yes.  I can capture which
details the user picks but am having problems linking the level2 with
that particular detail.

If anyone has any ideas please let me know.  PS my supervisor is not
wanting me to use sessions...

Here's the code snipet producing the tables:


for($knt = 0;$row = mysql_fetch_row($res3); $knt++)
        $cat_detail = $row[0];
        echo "<tr><td><input type=\"checkbox\" name=\"prob[]\" value =
        ."<td>High<input type=\"checkbox\" name=\"level_one[]\"
        ."<td>Med<input type=\"checkbox\" name=\"level_two[]\"
        ."<td>Low<input type=\"checkbox\" name=\"level_three[]\"
        ."<td><center><input type=\"checkbox\"



PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to