How to write code for Admin approve !
-
I have the table(tblCompany) which have the fields(ID,CompanyName,Address,PhoneNumber,Email)etc.. There is a data entry man(Role=marketer) to insert the company. I don't want to publish (new company) directly to the website and I(Role=Admin) wanna check again . If i approve the (new Company) , then publish to the users(Role=Public and Role= Annonymous). How can I write the code for this problem? Please , suggest to me my all dear.....
-
I have the table(tblCompany) which have the fields(ID,CompanyName,Address,PhoneNumber,Email)etc.. There is a data entry man(Role=marketer) to insert the company. I don't want to publish (new company) directly to the website and I(Role=Admin) wanna check again . If i approve the (new Company) , then publish to the users(Role=Public and Role= Annonymous). How can I write the code for this problem? Please , suggest to me my all dear.....
Add a status field to the tblCompany which could be used to filter the data which is displayed on the website. For example: 0 - Company is initially created 1 - Appproved 2 - Marked as delete Based on role you can filter what is displayed. :thumbsup:
-
Add a status field to the tblCompany which could be used to filter the data which is displayed on the website. For example: 0 - Company is initially created 1 - Appproved 2 - Marked as delete Based on role you can filter what is displayed. :thumbsup:
thanks dear brother.....that's work :)