Well, I'm not an sql expert, and I don’t see much PHP code, but the “Unknown column” for me will refer to the column names in the corresponding sql table, or, more precisely, that it can. Do not find the column that you he was told to get into this table. the first place I would look at is the select statement, which asked him to be pulled out of the " Present_Year_PL " column. I found this to be a random senstive, so make sure it exactly matches the column name in the table. the next place I would look is in the statement in which you told him to combine the sorcerer " employee_id ". Now it’s all lowercase, as it was refuted by your previous column name, which was complete while technically legal, (As in the actual table you can have one column in all caps and one at the bottom), usually if all caps are used in the same column name in the table, all column names are executed the same way, and vice versa. this will cause a problem if you have the column "employee identifier" in the table "EMPLOYEE_ID", since the table "actual_id" does not actually exist. also make sure that you do not come up with something like "employeeid" or "employee-id" or even "employee id", as this is easily mistaken when viewing the field name, but will give you an error when receiving.
source share