active and deactive in php

How to Make Active or Inactive in PHP With Mysql Database