View Single Post
Old 12-01-2012, 12:55 PM   PM User | #6
nani_nisha06
Regular Coder

 
Join Date: Oct 2012
Location: mother land --india
Posts: 159
Thanks: 37
Thanked 2 Times in 2 Posts
nani_nisha06 is an unknown quantity at this point
Quote:
Originally Posted by Junsee View Post
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...

Hope you understand my query & i wish you could share your valuable suggestion.

Regards,
Nani
nani_nisha06 is offline   Reply With Quote