![]() |
Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE,
Guys,
I know i am doing some mistake in the below code, can any one help me !!! PHP Code:
PHP Code:
Regards, Nani |
What's
PROCESS_BAU[$id_type]? Did you mean to use $PROCESS_BAU[$id_type] instead?btw, to embed php arrays within string, you need to either use a syntax like PHP Code:
PHP Code:
|
Quote:
|
Quote:
|
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:
|
Quote:
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 |
But you're echo-ing a if statement inside a variable, I am not sure if thats even possible?
you need to change the "echo" to an "if" take it out of the variable, and give it better structure. I think you're just putting everything together and its not working, seperate the components first, make sure they are working. |
Quote:
|
| All times are GMT +1. The time now is 09:52 AM. |
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.