If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Enjoy an ad free experience by logging in. Not a member yet? Register.

To be honest the code you have written is really confusing for php, using better structure will help solve this issue. I assuming you going to echo out the result, which means the result has another echo in it, which HTML doesn't know what to do with that?

To be honest the code you have written is really confusing for php, using better structure will help solve this issue. I assuming you going to echo out the result, which means the result has another echo in it, which HTML doesn't know what to do with that?

like so

PHP Code:

$LIST=

$LIST .= '<td>Task:<select name="' .PROCESS_BAU[$id_type]. '">';

$LIST .= '<option value="' .$value. '" ';

if ($info['options'] == '--'){
$LIST .= 'selected ';
}

$LIST .= '>--</option>';

# etc etc

$LIST .= '</select></td>';

Junsee,

Appreciate your effort but I am not working to echo results I have db table which has 32 different task and each task is equalized with type & option.

to be more clear,the script I am creating is for the check list whether who has done what task in a group of people for that I have created a db containing columns for task, type (list/text) & options (for list type which has --,y,n) .

Now I want to create form which should be a unique per day & should satisfy condition: a) if one member done with one task and submit it should grey out(not editable) b) I should only have one submit button for whole list means while submitting result in to DB for 1 task other should stored as null so that rest of the people can work on them.

On the above requirement I am working hard to close but I think I am going bad with my planing so my form is sucessfull but I am not able to $_post the value in to DB....i feel I am doing wrong while creating name so, need to check with the methods...