Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Coding Forum


You are currently viewing our Coding Forum as a guest. Please register to participate.
Login



Reply
Collecting form data and approving before posting it into the database
Old 11-21-2002, 03:23 PM Collecting form data and approving before posting it into the database
Novice Talker

Posts: 12
Location: Kenya, Africa
Trades: 0
I am running an online form that is supposed to post data into the database. My database is oracle backend but I would assume any database will do e.g. access, oracle or mysql. I want all the data collected on this form to be approved before it is posted to my database. Meaning that user will fill in the form and submit it to me, when I review it and oks it I will click on approve button and data will be entered into the database. Also I want the user to recive a html page or information letting him or her know that the form was submitted as soon as the click submit button but he or she cannot know it is going to be approved or rejected that will be internal thing we do to control the data in the database. So how can I collect this information, approve the data and post it on the database? I know collecting data into the database is easy but the approval process is confusing for me. Help!!!
wambui is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 11-21-2002, 04:45 PM
dk01's Avatar
Ultra Talker

Posts: 373
Location: Ames, IA
Trades: 0
wambui what language are you using? PHP, perl, asp?
-dk
__________________
Did I help you? If so, be nice and throw me some
Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
dk01 is offline
Reply With Quote
View Public Profile
 
Old 11-21-2002, 04:54 PM
Novice Talker

Posts: 12
Location: Kenya, Africa
Trades: 0
DK I am using oracle as my backend and web browser or HTML as my front end. So I was thinking of Php, or asp. I could create a table an post users entry and then transfer it into database. I have done it with VB but I had to install the VB script into the client computer but this client want it to operate on the server so vb will not work here. ASP needs PWS. so php will definitely be the one needed in this or how about writing a pl/sql script to execute it? Help!!
wambui is offline
Reply With Quote
View Public Profile
 
Old 11-21-2002, 08:53 PM
Mo Money's Avatar
Extreme Talker

Posts: 229
Location: Cali
Trades: 0
make 2 tables within your database, approved ones and non approved ones. Then the data is posted to the non approved database, then you have a page where you can read all of the non approved ones, then make it so you approve em and they are posted on the approved database and erased from the non appr. one. Use PHP.
__________________

Please login or register to view this content. Registration is FREE
- Free Internet Games!
Mo Money is offline
Reply With Quote
View Public Profile
 
Old 11-22-2002, 03:42 AM
dk01's Avatar
Ultra Talker

Posts: 373
Location: Ames, IA
Trades: 0
I would suggest using php because it has many oracle function built in to make it easy to use an oracle db. However, like asp, php is server-side so you will have to install it on your web server. What webserver do you have set up? Apache, iis?
-dk
__________________
Did I help you? If so, be nice and throw me some
Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
dk01 is offline
Reply With Quote
View Public Profile
 
Old 11-22-2002, 01:28 PM
Novice Talker

Posts: 12
Location: Kenya, Africa
Trades: 0
I will go for 2 tables and I will use PHP. I believe the web server is Apache. Thanks Mo money and DK1.
Peace .
wambui is offline
Reply With Quote
View Public Profile
 
Old 11-22-2002, 04:52 PM
david's Avatar
King Spam Talker

Posts: 1,314
Location: Glasgow, UK
Trades: 0
If you haven't set it up yet, you might want to consider keeping to one table but adding a field for 'approved'.

That way you only have to have one table but you can still query it only getting the approved data (i.e. WHEN approved=1)
__________________

Please login or register to view this content. Registration is FREE
- Everything a webmaster needs - for free

Please login or register to view this content. Registration is FREE
- Free web hosts reviewed and rated

Please login or register to view this content. Registration is FREE
- Impartial hosting directory - Add your host today for FREE
david is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Collecting form data and approving before posting it into the database
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.25448 seconds with 12 queries