1 Replies - 251 Views - Last Post: 14 November 2017 - 11:04 PM Rate Topic: -----

#1 ishaq1  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 13-October 17

Please PHP and SQL help needed here

Posted 14 November 2017 - 11:01 PM

I am developing a classified ads website, after accepting user emails, the user who is already a
registered member can post any ads. But I want the ads to be approved by admin before the ads can be active and appear on the index. I need a php code and sql table for that, please anyone give me an idea how to develop this case.

Is This A Good Question/Topic? 0
  • +

Replies To: Please PHP and SQL help needed here

#2 modi123_1  Icon User is offline

  • Suitor #2
  • member icon



Reputation: 13650
  • View blog
  • Posts: 54,471
  • Joined: 12-June 08

Re: Please PHP and SQL help needed here

Posted 14 November 2017 - 11:04 PM

Pretty simple.. you have a bit flag in the ad table. Your index script only gets ads that have this flag turned on. The admin panel can pull up both active/non active ads and change that status and save it to the db.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1