cobaltblue Posted October 16, 2007 Share Posted October 16, 2007 Hello everyone, I'm looking for a simple way to pull this off, and I'll try to explain it as detailed as possible... My goal is to have users input text, submit it, where it goes to a system to be approved/rejected by human moderators on a password protected page. The approved submissions are then posted to a page viewable by everyone, and the rejected submissions are obviously dropped. In case that was unclear, here's a simple diagram: Input textbox -> Submit -> Moderation system -> Approved to other page The problem is simply I don't know how to make this work. I am a beginner when it comes to PHP, and I just need someone to point me in the right direction. Thanks to anyone who can help me out. Quote Link to comment https://forums.phpfreaks.com/topic/73551-moderated-submissions/ Share on other sites More sharing options...
trq Posted October 16, 2007 Share Posted October 16, 2007 Simply save the data in a database along with a approved field set with a default of 0. Once you have approved the data, update the approved filed to 1. Then simply query for approved data to display. Quote Link to comment https://forums.phpfreaks.com/topic/73551-moderated-submissions/#findComment-371097 Share on other sites More sharing options...
MadTechie Posted October 16, 2007 Share Posted October 16, 2007 What do you need to know ? its probably best to use a mysql database, do you have a Moderation/User system inplace ? Quote Link to comment https://forums.phpfreaks.com/topic/73551-moderated-submissions/#findComment-371098 Share on other sites More sharing options...
cobaltblue Posted October 16, 2007 Author Share Posted October 16, 2007 What do you need to know ? its probably best to use a mysql database, do you have a Moderation/User system inplace ? I just need to know how to actually go about doing it. I don't have a user system in place yet, but it wouldn't be that hard to set up. Quote Link to comment https://forums.phpfreaks.com/topic/73551-moderated-submissions/#findComment-371103 Share on other sites More sharing options...
MadTechie Posted October 16, 2007 Share Posted October 16, 2007 setup one and add another table, for data and a tinyint for approve 1=approved, as thorpe says Quote Link to comment https://forums.phpfreaks.com/topic/73551-moderated-submissions/#findComment-371106 Share on other sites More sharing options...
cobaltblue Posted October 16, 2007 Author Share Posted October 16, 2007 Thanks so much both of you Quote Link to comment https://forums.phpfreaks.com/topic/73551-moderated-submissions/#findComment-371109 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.