Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. How to write code for Admin approve !

How to write code for Admin approve !

Scheduled Pinned Locked Moved Web Development
questionhelptutorial
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    heinhtataung
    wrote on last edited by
    #1

    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.....

    D 1 Reply Last reply
    0
    • H heinhtataung

      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.....

      D Offline
      D Offline
      David Mujica
      wrote on last edited by
      #2

      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:

      H 1 Reply Last reply
      0
      • D David Mujica

        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:

        H Offline
        H Offline
        heinhtataung
        wrote on last edited by
        #3

        thanks dear brother.....that's work :)

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups