CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 Who can explain me please.....

Print topic Send  topic

Author Message
Franck
Posted: 07/23/2002, 5:47 AM

I want to be explained how to do for this,
i wabt an administration box there I can Update after control forms comleted by visitors like in events. those forms ca'n be on the net without my approbation; how to do please, It's very important for my website.
franck great thanks
Andrew
Posted: 07/23/2002, 6:59 AM

Franck,

So, your visitors are completing a form that creates a record in a table. You then don't want the record to appear on the web without your approval.

You could add a TRUE/FALSE field to the database table called 'OK_to_Show'.
Make your web page show only records where OK_to_Show = TRUE.

When your visitors add records, OK_to_Show should be set to FALSE by default. Then, once you have personally checked what your visitors have written, you can set OK_to_Show to TRUE, and the record will appear.

This site infact uses approval for 'User Submitted Links'. You could download the code to this site and see how the approval is implemented.
franck
Posted: 07/23/2002, 7:10 AM

franck, the solution i think can be setting a variable for success aprov.

table can be like this

ID
MESSAGE
USER
STATUS

When user insert status would be "1" so you can make a Admin Page where SQL show only "1" ... so you can read and aprovee... if you are sure to publish, you can set the value to a "2"

So in your Home Page SQL shows only the values for records that contains status = 2

is easy..

   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.