473,473 Members | 1,974 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Submit problem on second form in a file

8 New Member
Hello,

I am new to PHP and have created a file that will show a HTML page to ank for a record key, then select the kay from a MS Access database and display it on another form in the same PHP file. This all works great the second form is presented with the information.

The problem that I have is the second form is supposed to allow a user time to modify information and click a submit button, then I take the information and update the database record. What is happening is the information presents and the code blows right through to the next step.

I have checked the HTML code for a error, also
Expand|Select|Wrap|Line Numbers
  1. unset($_SESSION['formSubmitted']); 
and
Expand|Select|Wrap|Line Numbers
  1. unset($_POST['submit']);
I am not sure where to go from here, can someone offer any advice?

Thank You
Nov 8 '07 #1
2 1312
Atli
5,058 Recognized Expert Expert
Hi.

I'm not entirely sure how your code could be skipping a form submission. (Unless I'm misunderstanding the problem?)

Could you show us the code that prints the information into the forum, where you expect your user the edit and submit it?
And perhaps the code that processes the data from that submission?
Nov 8 '07 #2
slb813
8 New Member
Hi.

I'm not entirely sure how your code could be skipping a form submission. (Unless I'm misunderstanding the problem?)

Could you show us the code that prints the information into the forum, where you expect your user the edit and submit it?
And perhaps the code that processes the data from that submission?


I think I found my problem. It was a stupid mistake.

Thank You
Nov 9 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

10
by: Gregory A Greenman | last post by:
I'm trying to write a program in vb.net to automate filling out a series of forms on a website. There are three forms I need to fill out in sequence. The first one is urlencoded. My program is...
4
by: houstoncity2004 | last post by:
Hi, I need help to JavaScript. I am new to this, and am trying to the page online ASAP. I have two submit buttons on one form, and each button will have to do different things. I named both...
1
by: Sophisticado | last post by:
Hi Newbie here. I am trying to have two form actions on submission using a javascript. The first calls a php class (http://www.blah.org/test.php) and the second adds data to a mySQL database...
2
by: Jim Duncan | last post by:
How can I make a client-side javascript form.submit() look enough like a postback that the browser back button will not show the previous state of the form and instead go to the previous page? I...
3
by: Ian Davies | last post by:
I have the folowing script which has two forms. the first adds a record to a database the second uploads a file. The problem is each form has its own button to perform the action. What I wish to do...
5
by: Steve JORDI | last post by:
Just a question using images as submit buttons and PHP4.4.4. It seems that my code correctly works in FireFox but not in IExplorer. For example, I have a FORM with 2 buttons called "search" and...
32
by: phub11 | last post by:
Hi all, This was originally posted on the HTML section, but it was suggested that I post it in the JavaScript section, so here it is... I have a file upload box contained within a form which I...
5
by: huseyin | last post by:
Hello, I have two forms written mainly in php. Here how it functions currently: - First form has two submit buttons. - First submit button is a search button that submits a value of an input...
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,...
1
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.