JavaScript Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 



Go Back   Dev Articles Community ForumsProgrammingJavaScript Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old June 22nd, 2010, 10:58 AM
pizzipie pizzipie is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jun 2010
Posts: 1 pizzipie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 59 m 10 sec
Reputation Power: 0
Other - Presenting/Processing multiple forms one at a time

Hi,

I am learning HTML, PHP, and now I think I have to add JavaScript to do what I want to do. I get confused as to what server side and client side means. When I call the browser, in my case Firefox, to run a program is that Client side?

Anyway:

I am writing an address program where I have split the data entry into five sections. The data is stored in a MySql database in 5 tables.

Right now I am trying to show a series of forms, 5 in this case, and process the related data by calling a function. The parameters in the function call make it possible to have this one function show data from any table, any database.

I have tried this in PHP. I think I need Javascript to do the following.

foreach(table $key as $value) {
call function(x,y,z) {
show form for table x
return()
}
process $_POST data
}


Problem is, as soon as I call the function for the first table the browser shows all 5 forms at once.

How can I enter the data and process the information from each form one at a time ? Please show example code if possible.

Thanks in advance,

RP

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingJavaScript Development > Other - Presenting/Processing multiple forms one at a time


Developer Shed Advertisers and Affiliates


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.

© 2003-2018 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap