insert form to database

This is a discussion on "insert form to database" within the Databases section. This forum, and the thread "insert form to database are both part of the Program Your Website category.



 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Program Your Website > Databases

Notices


Closed Thread
 
LinkBack Thread Tools
  #1  
Old Aug 25th, 2004, 01:57
Most Reputable Member
Join Date: Feb 2004
Location: Borneo
Age: 27
Posts: 1,611
Blog Entries: 2
Thanks: 0
Thanked 4 Times in 3 Posts
insert form to database

I HAVE 2 DATABASE WITH THE SAME FEATURES
DATABASE A CONTAIN: ROOM,TIME,SUBJECT AND SECTION
DATABASE B CONTAIN THE SAME ATTRIBUTES!

I HAVE A FORM THAT WILL ASK THE USER TO INPUT THE 4 FIELD; ROOM, TIME, SUBJECT AND SECTION!

I WANT THE DATA THAT INPUT FROM THE USER SAVED IN DATABASE B
IF THE DATA ENTERED BY THE USER DOES NOT EXIST IN DATABASE A?
HOW CAN I DO THAT VERIFICATION? CAN IT BE POSIBLE?


THE LOGIC:
IF DATA INPUT EXIST IN DATABASE A
ALERT DUPLICATION
ELSE IF DATA DOES NOT EXIST IN DATABASE A
SAVE DATA TO DATABASE B
END IF
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!

  #2  
Old Aug 25th, 2004, 02:59
Highly Reputable Member
Join Date: Aug 2003
Location: Australia
Posts: 662
Thanks: 0
Thanked 0 Times in 0 Posts
Why would you do this? You can make more than one table inside of each database... but creating more than one database or even table with the same information doesn't seem like a good idea to me...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Closed Thread

Tags
insert, form, database

Thread Tools

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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
ASP form to check weather a form value is already in the database Andrew1986 Classic ASP 3 Oct 25th, 2007 08:23
PHP Code insert into database problem longstand PHP Forum 7 Oct 13th, 2007 22:03
form database Barbs7349 Starting Out 1 Aug 12th, 2007 13:22
Problem with insert into the database kool77 PHP Forum 3 Jun 4th, 2007 19:21
insert image trigger by variable value from a form kyk JavaScript Forum 5 Aug 19th, 2006 09:15


All times are GMT. The time now is 05:47.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42