473,387 Members | 1,416 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

People database

KS
Hi,
We are developing a webpage for our group, which shows the details of
the people working in the groups. For example: Last name, First name,
Status, Phone, Fax and Mailing address.
One of us is supposed to take care of new people being added to database
and shown on the webpage. We have a page to put in the details(a form),
which calls a php script. The script checks if there is another person
with the same name in the database and shows the options depending on
the result. If there is someone three buttons appear: Update, Reset, and
Add New. If there is none, two buttons appear: Add New and Reset. I want
to know, if I have different scripts for "Add New", "Reset" and "Reset",
will the $_POST variables(generated by the first form for details) be
passed to these scripts.

Any other suggestions?

Thanks.
Jul 17 '05 #1
2 1641
On Tue, 02 Mar 2004 15:13:23 -0500, KS
<bo*************************@MAPSyahoo.com> wrote:
I want
to know, if I have different scripts for "Add New", "Reset" and "Reset",
will the $_POST variables(generated by the first form for details) be
passed to these scripts.


If you're asking what I think you're asking, no, since a <form> can only have
one action attribute, so always gets submitted to the same script. But you can
work out which of the submit buttons were pressed by giving them a name and
value attribute.

--
Andy Hassall <an**@andyh.co.uk> / Space: disk usage analysis tool
<http://www.andyh.co.uk> / <http://www.andyhsoftware.co.uk/space>
Jul 17 '05 #2
KS
Andy Hassall wrote:

If you're asking what I think you're asking, no, since a <form> can only have
one action attribute, so always gets submitted to the same script. But you can
work out which of the submit buttons were pressed by giving them a name and
value attribute.

I was planning to write three scripts for three forms. One button in
each form calls a different script.
Jul 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: intl04 | last post by:
I was told by an instructor of Oracle SQL that an MS Access database cannot be used to have several people enter records at about the same time, that the database will "freeze up" as a result -...
19
by: rich | last post by:
I am building an app using php and postgresql. My questionis this. How do you handle people wanting to make parallel changes to a record. Since in web apps you are doing a select, bring over a...
4
by: c676228 | last post by:
Hi everyone, I need to write a insruance program which needs to collect multiple people information, The information for each person includes name, email, address, phone, dob etc. The DOB data...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.