Thank you for your efforts Erik, I appreciate that very much!
It's a good solution, but not exactly what i wanted...
Instead I've rewritten my php scripts to use multiple forms, put every button in a separate form and added a little bit of js - works now!
next time i'll know
Best regards
Thomas
Thank you all for your contributions!
I've learned quite a bit from them.
In the end I've rewritten big parts of my php code, so that i can now use multiple forms (means: every button has its own form now) and mixed in some javascript.
no solution to the problem but a work-around which...
TKaeser (TechnicalUser) May 23, 2002
Hello,
I've asked this question before in the PHP forum, but maybe didn't make it quite clear. (Thread216-245486)
I have a form that contains 4 different submit buttons with the same name and different captions.
If the user hits his enter-key the form is...
Hello,
I've asked this question before, but maybe didn't make it quite clear. (thread216-245486)
I have a form that contains 4 different submit buttons with the same name and different captions.
If the user hits his enter-key the form is always submitted by button 1. How can I change this? (to...
Hi!
I have a site, that has a public and a private part.
The user first sees only the puploc area. Then he logs in and the public area is enhanced by his personal data.
I was able to create a script that verifies the user information, but because the site consists of many php pages the user...
Hello!
Here's an example with mysql and checkboxes - it works fine for me, but i am no professional...
<?php
include "db.inc";
/*opens mysql connection, sends query and returns
link to result*/
function ShowLinkTable($cat=1) {
?>
<form action='links.php' method='post'>...
Hello,
I want to make a ranking of the links in a link database: which links are used the most.
eg: Every time the link is clicked, its clickcounter is increased by one and stored in the db.
I think you could do it trough a form, with different buttons for every link, but i want to keep the...
Hello,
I have a form with multiple submit buttons (all the same name, different values - for php postprocessing) and a text field.
What I want:
user enters data and hits enter and the form is submitted by the submit button which i 'preselect', in this case button[7].
What happens:
i have...
Thanks, Kristof
I'm sorry, I think I didn't describe the problem too well..
Retry:
Parent page contains a data table (from a DB query) and a form with some buttons.
To edit the data an icon is displayed in the data table:
<img src='graphics/edit.gif' onClick="javascript: window.open...
Hello,
Database frontend.
To do some data manipulation, I open a child window.
When done i'd like to reload the parent window to show the altered data.
<input type='submit' name='close' value='ok' onClick="window.opener.location.reload(); window.close;">
works ok, but IE prompts...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.