The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.
|
 |
|
Dev Shed Forums
> Web Design
> HTML Programming
|
New Member - How To Enter Data In Multiple Tables At A Time
Discuss How To Enter Data In Multiple Tables At A Time in the HTML Programming forum on Dev Shed. How To Enter Data In Multiple Tables At A Time HTML Programming forum covering discussions of HTML and XHTML, as well as HTML-related issues such as writing W3C Compliant code. Use HyperText Markup Language for building websites.
|
|
 |
|
|
|
|

Dev Shed Forums Sponsor:
|
|
|

February 16th, 2013, 01:03 AM
|
|
Registered User
|
|
Join Date: Feb 2013
Posts: 1
Time spent in forums: 9 m 30 sec
Reputation Power: 0
|
|
|
New Member - How To Enter Data In Multiple Tables At A Time
I have created different tables in different pages of my blog but all tables have same header , i need to enter data in these tables, some data elements are common for some tables, so how can i enter data in these different tables at a time, Like categories to a post..... i will explain my problem with an example
In my blog I have created 10 tables in different pages,names of those tables are x0,x1,x2,x3,x4,x5,x6,x7,x8,x9, all tables have same header, if a data entry is common to some tables say x1,x3,x4,x7 , now i need to enter data in all these tables individually, which takes very much time, so please send a way how to enter data in multiple tables at a time...
|

February 16th, 2013, 08:24 AM
|
|
Contributing User
|
|
Join Date: Jun 2009
Posts: 294
  
Time spent in forums: 3 Days 8 h 6 m 9 sec
Reputation Power: 5
|
|
|
Are you entering data? i.e. A person's name
Or options? Like in a drop-down menu?
|

February 17th, 2013, 08:41 AM
|
|
Registered User
|
|
Join Date: Feb 2013
Posts: 26
Time spent in forums: 6 h 15 m
Reputation Power: 0
|
|
|
Hello sureshsami.
The issue here is that these tables are contained within separate pages which, I'm assuming, are not all loaded simultaneously (correct me if I'm wrong).
HTML is a client side language; meaning that an HTML file is requested, interpreted and rendered on demand by a user's web browser. If the user we're to enter data on one form in one page, there is no way that I know of, using pure HTML, for that data to be shared with another page. Not only because HTML doesn't really do this, but because, from the user's perspective, pages that haven't been loaded may as well not exist.
That said, I see two possible non-HTML solutions for what you're trying to achieve:
The first follows the example of WordPress. Using PHP, which is a server side language, and a simple SQL database, read and write your data from/to the database and populate your forms that way.
The second would be to use cookies or HTML5 session storage, via JavaScript, to store, read and write your data. Then you would have each page read the cookie/session data on load and populate your forms that way.
- Null
|
Developer Shed Advertisers and Affiliates
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|