On Saturday, June 18, 2011, Ron Piggott wrote:
I am not getting anything. Is there a correct way of passing a
variable through an image? The value in this above example is the
auto_increment value of the product. From this I could remove the
item from the shopping cart.
An image causes
Geoff Lane ge...@gjctech.co.uk wrote:
On Saturday, June 18, 2011, Ron Piggott wrote:
I am not getting anything. Is there a correct way of passing a
variable through an image? The value in this above example is the
auto_increment value of the product. From this I could remove the
item
On Feb 14, 2011, at 5:24 PM, Paul M Foster wrote:
On Mon, Feb 14, 2011 at 05:15:11PM -0500, Floyd Resler wrote:
On Feb 14, 2011, at 4:18 PM, Paul M Foster wrote:
On Mon, Feb 14, 2011 at 03:35:02PM -0400, Paul Halliday wrote:
I have 2 buttons on a page:
if
On Tue, 2011-02-15 at 08:07 -0500, Floyd Resler wrote:
On Feb 14, 2011, at 5:24 PM, Paul M Foster wrote:
On Mon, Feb 14, 2011 at 05:15:11PM -0500, Floyd Resler wrote:
On Feb 14, 2011, at 4:18 PM, Paul M Foster wrote:
On Mon, Feb 14, 2011 at 03:35:02PM -0400, Paul Halliday wrote:
I have 2 buttons on a page:
if (isset($_POST['botton1'])) {dothing1();}
if (isset($_POST['button2'])) {dothing2();}
They both work as intended when I click on them. If however I click
within a text box and hit enter, they both fire.
Is there a way to stop this?
Thanks.
--
Paul Halliday
On Mon, Feb 14, 2011 at 03:35:02PM -0400, Paul Halliday wrote:
I have 2 buttons on a page:
if (isset($_POST['botton1'])) {dothing1();}
if (isset($_POST['button2'])) {dothing2();}
They both work as intended when I click on them. If however I click
within a text box and hit enter, they
On Feb 14, 2011, at 4:18 PM, Paul M Foster wrote:
On Mon, Feb 14, 2011 at 03:35:02PM -0400, Paul Halliday wrote:
I have 2 buttons on a page:
if (isset($_POST['botton1'])) {dothing1();}
if (isset($_POST['button2'])) {dothing2();}
They both work as intended when I click on them. If
On Mon, Feb 14, 2011 at 05:15:11PM -0500, Floyd Resler wrote:
On Feb 14, 2011, at 4:18 PM, Paul M Foster wrote:
On Mon, Feb 14, 2011 at 03:35:02PM -0400, Paul Halliday wrote:
I have 2 buttons on a page:
if (isset($_POST['botton1'])) {dothing1();} if
(isset($_POST['button2']))
15.02.2011 00:24, Paul M Foster yazmış:
On Mon, Feb 14, 2011 at 05:15:11PM -0500, Floyd Resler wrote:
On Feb 14, 2011, at 4:18 PM, Paul M Foster wrote:
On Mon, Feb 14, 2011 at 03:35:02PM -0400, Paul Halliday wrote:
I have 2 buttons on a page:
if (isset($_POST['botton1'])) {dothing1();} if
2011/2/14 Paul Halliday paul.halli...@gmail.com:
if (isset($_POST['botton1'])) {dothing1();}
if (isset($_POST['button2'])) {dothing2();}
Hello.
in html:
input type=submit value=Update name=op
input type=submit value=Checkout name=op
in PHP
if(isset($_POST['op'])){
switch($_POST['op']){
oh - I forgot - the first the submit will be the default
2011/2/15 Dmitrii Varvashenia varvashe...@gmail.com:
--
WBR, Dmitrii
+375 29 60-LINUX, 25-LINUX, 40-LINUX
icq: 193-74-771
www.varvashenia.ru, www.seoder.ru
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Once you submit the form, it's a done deal, and you're going to get a
response back...
Maybe you want some kind of AJAX-y thing somewhere?
On Mon, February 26, 2007 10:23 am, Dan Shirah wrote:
Hello all,
I have a page that has multiple submits on it. One submit is within
my
javascriptfor
On Mon, February 26, 2007 1:14 pm, David Giragosian wrote:
However, since I have a form within a form, it is giving me
problems.
You simply cannot nest one form inside another, if that's what you are
doing...
Don't do that.
--
Some people have a gift link here.
Know what I want?
I want you
Hello all,
I have a page that has multiple submits on it. One submit is within my
javascriptfor form checking, the other submit is a button used to populate
all customer information if an order ID is entered.
Problem: I cannot get the two to coincide at the same time. They both use
the
2007. 02. 26, hétfő keltezéssel 11.23-kor Dan Shirah ezt írta:
Hello all,
I have a page that has multiple submits on it. One submit is within my
javascriptfor form checking, the other submit is a button used to populate
all customer information if an order ID is entered.
Problem: I
At 11:23 AM -0500 2/26/07, Dan Shirah wrote:
Hello all,
I have a page that has multiple submits on it. One submit is within my
javascriptfor form checking, the other submit is a button used to populate
all customer information if an order ID is entered.
Problem: I cannot get the two to
When I click on save at the bottom, I want it to check my form and submit
all the values. When I click on the Retrieve button I want it to submit
my order number to another page, and also carry over the $_POST value of any
field that may have had info entered into it.
However, since I have a
I always use :
onClick=\this.form.action='SomeOtherPage.php'; \
inside the button tag.
Seems to work just fine.
David
On 2/26/07, Dan Shirah [EMAIL PROTECTED] wrote:
When I click on save at the bottom, I want it to check my form and
submit
all the values. When I click on the Retrieve
Dan Shirah wrote:
Hello all,
I have a page that has multiple submits on it. One submit is within my
javascriptfor form checking, the other submit is a button used to populate
all customer information if an order ID is entered.
Problem: I cannot get the two to coincide at the same time. They
Dan Shirah wrote:
Okay, I partially figured it out! YAY!
I only needed to have one form object.
*form name=inputForm action= method=post
enctype=multipart/form-data*
Instead of putting an action in the form, leave it blankand then
specify
the forms action based on which button is
Skip Evans mailto:[EMAIL PROTECTED]
on Friday, July 14, 2006 4:33 PM said:
My apologies to all. I assumed that JS questions
would be entertained as the application is within
a PHP app.
No need to apologize. My off-list email wasn't meant to berate but
merely let you know what the purpose
Chris W. Parker
on Monday, July 17, 2006 10:23 AM said:
motherboards. Or how about this one? My can't keeps walking on my
keyboard while I'm trying to write a PHP page. What should I do?
Okay that should be CAT, not can't.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
On Mon, 2006-07-17 at 13:27, Chris W. Parker wrote:
Chris W. Parker
on Monday, July 17, 2006 10:23 AM said:
motherboards. Or how about this one? My can't keeps walking on my
keyboard while I'm trying to write a PHP page. What should I do?
Okay that should be CAT, not can't.
So
Chris W. Parker wrote:
Thank you, you're beautiful. I'll be here all week folks.
You forgot, Enjoy the buffet.
--
Skip Evans
Big Sky Penguin, LLC
61 W Broadway
Butte, Montana 59701
406-782-2240
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Chris W. Parker wrote:
Chris W. Parker
on Monday, July 17, 2006 10:23 AM said:
motherboards. Or how about this one? My can't keeps walking on my
keyboard while I'm trying to write a PHP page. What should I do?
Okay that should be CAT, not can't.
I thought the can't walking all over
[snip]
I thought the can't walking all over the keyboard was rather
Kafka-esque ;-)
[/snip]
In a rather existential sort of way.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Skip Evans wrote:
Brand new to the list, so here's my question. I am implementing a bunch
of Dreamweaver templates a designer has built into a PHP app, and one
thing she did is create a submit button (image) that uses mouse over JS:
a
Hi all,
Brand new to the list, so here's my question. I am
implementing a bunch of Dreamweaver templates a
designer has built into a PHP app, and one thing
she did is create a submit button (image) that
uses mouse over JS:
a href=user.php?req=login target=_top
My apologies to all. I assumed that JS questions
would be entertained as the application is within
a PHP app.
Sorry,
Skip
Chris W. Parker wrote:
Skip Evans mailto:[EMAIL PROTECTED]
on Friday, July 14, 2006 4:13 PM said:
Hi all,
Hey.
Brand new to the list, so here's my question.
Hi,
Saturday, July 15, 2006, 9:13:04 AM, you wrote:
SE Hi all,
SE Brand new to the list, so here's my question. I am
SE implementing a bunch of Dreamweaver templates a
SE designer has built into a PHP app, and one thing
SE she did is create a submit button (image) that
SE uses mouse over
form target=_parent is valid just as with any other link.
Shaun [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi,
How can I get the form values submitted from an iframe where the target is
the parent window?
--
PHP General Mailing List (http://www.php.net/)
To
Like you do it if the target was the same window? PHP doesn't know which
window is the target..
--
// DvDmanDT
mail: dvdmandt¤telia.com
msn: dvdmandt¤hotmail.com
Shaun [EMAIL PROTECTED] skrev i meddelandet
news:[EMAIL PROTECTED]
Hi,
How can I get the form values submitted from an iframe
Hi -
I'm writing a multi-page php script that keeps track of state with a hidden variable
in the html forms. It's all working well except I would like to know how to auto
submit a form and change the state. For example when I'm in state 2 and the user
enters some data and hits a submit button
Sam wrote:
What do you do with this?
Submit.x=22Submit.y=13
if($_GET['Submit.x'] 0) ???
Is there some smarter way of dealing with an image as a submit button?
input name=Submit type=image value=doesNOTseemTOmatter
Thanks
Well, it comes through as an image map in most browsers. I've found that
Hi,
I have a form that has a submit button in it, when the button is pressed I
want it to reload the same page, with the same URL, however when I click on
the submit button, the URL that it produces is http://whatever.php? then the
name of my submit button = value for example:
form action=?php
Angelo Zanetti wrote:
Hi,
I have a form that has a submit button in it, when the button is pressed I
want it to reload the same page, with the same URL, however when I click on
the submit button, the URL that it produces is http://whatever.php? then the
name of my submit button = value for
like this:
input type=submit name=reqPaper value=Request
or is there a better way of testing this?
-Original Message-
From: Mark Walker [mailto:[EMAIL PROTECTED]
Sent: Monday, September 22, 2003 4:54 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] using submit button and PHP-HELP
Hi
can i have a peek on your diki.php?
I didn't see any attachment.
Foong
Diksha Neel [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
hi everybody,
i have a PHP script by name registration.php
in which i have a submit button at the bottom.
the form in this script is sent to p.php
sorry, I really didn't seen any attachment in any of your post.
can you paste it in your next post?
foong
Diksha Neel [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
hi everybody,
i have a PHP script by name registration.php
in which i have a submit button at the bottom.
the
OK sorry i miss this post.
looking at you code.
I guess there are mismatch of opening and closing form tags.
In HTML double slashes // is not a comment. when you do something like
//form
The tag wont get commented
use:
!-- form --
to comment a html tag out side php scope.
Foong
Diksha Neel
i have posted the question to phpMyAdmin user list already and after talking
with someone about my problem, it looks like its not in the phpMyAdmin, but
in my settings for php, but they seemed to have no clue as to what.
anyways, with a clean install of phpMyAdmin 2.4.0 we can't query the
I could use anchor's like shown underneath, but then the user will have to
click the link Last position each time a button is submitted. I would like
the page to scroll down automatically. Is that possible, to have the link
executed without clicking help from the user?
body onLoad=mScroll()
?php
Hope this will help your gamma-epsilon-psycho telepathy beamer :-)
When someone hits a button in one of the form-schemas the following
happens:
1) hentKoordinat() is executed. The form-schemas hidden field named yKoord
gets the value: the amunt of pixels scrolled in y-direction.
2)the page is
I am putting my gamma-epsilon-psycho telepathy beamer to the maximum but
there are too many coders inbetween us, i cannot receive you.
Please give a little hint on what these functions are and what value comes
from where and goes where.
At 04:00 1-3-2003, you wrote:
I'm trying to implement the
I'm trying to implement the following functionality into the file
test.php:
When I scroll down the page and then hit a button, the page
should remember
the scrolled position, refresh the page and then scroll down to the
remembered position. I've almost managed to make this work, but
I'm trying to implement the following functionality into the file test.php:
When I scroll down the page and then hit a button, the page should remember
the scrolled position, refresh the page and then scroll down to the
remembered position. I've almost managed to make this work, but only almost.
Greg schrieb:
Is there any way that I can have a form submit to different pages depending
on the submit button that is pressed? Thanks!
dont use submit buttons, but buttons... (type=button) calling a script that
submits the form to whatever page you want it to.
Olli
--
PHP General Mailing
I'm horrible at javascript, does anyone have a script that will do this?
Thanks again!!
Oliver Witt [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Greg schrieb:
Is there any way that I can have a form submit to different pages
depending
on the submit button that is pressed?
://www.oreilly.com/catalog/jscript4/
Bryan
-Original Message-
From: Greg [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 25, 2003 12:22 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Re: Submit buttons
I'm horrible at javascript, does anyone have a script that will do this?
Thanks again!!
Oliver Witt
Steven (cc list),
The sticky part is: ---User comes back next day, clicks load
For that functionality you will need to remember the user, the last project they were
using and the form they were 'on'. How?
You can have the user log in to their last saved state (which you will save when
(isset($_POST[Submit])) is this the way to check a submission image to see
if it's been set?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
(isset($_POST[Submit])) is this the way to check a submission image
to
see
if it's been set?
Nope. Try the manual:
IMAGE SUBMIT variable names
When submitting a form, it is possible to use an image instead of the
standard submit button with a tag like:
input type=image src=image.gif
Hello,
I am very new to this group.
I have a very simple question.
Please look at this form,
http://antriksh.com/resources/2_submit_button_form.shtml
here I want to change the echo statement in the script action.php to
redirect it to another script.
ie, I want to change the form action
by simple ways, you can do that:
$query = urlencode(your query string)
$result_string = join('', file(http://www.google.com/search?q=$query));
Elias
Henry [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hi all
I would like to be able to get the result of a
;
Then simply parse through $result;
-Original Message-
From: lallous [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 16, 2002 4:24 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Re: Getting PHP to submit a form to google
by simple ways, you can do that:
$query = urlencode
Hi all
I would like to be able to get the result of a search from google. Namely I
would like to write a PHP script that will generate and submit a form
(internally i.e. on the server) using the GET method to
http://www.google.com/search setting the field q to the search words. It
should then
Use the google API...
http://www.google.com/apis/
- David
-Original Message-
From: Henry [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 15, 2002 12:11 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Getting PHP to submit a form to google
Hi all
I would like to be able to get the result
I am looking for PHP code that will submit (post) a form automaically to a
ANOTHER php page. I do not want to press a submit button. I have found a
class at PHPClasses but it is too complicated for my needs. What is the
simplest way of doing this? What is the theoretical approach?
I
Algorithmically:
//in php
1) create a counter that will keep count of the # of variables that have
been set
2) if all your variables have been set spit out the relevant JavaScript
that runs the AutoSubmit function... (There are a couple onLine)...
...
It can follow the following
here's an excerpt from a script in which I do something like that:
$pdArgs=
demo= . urlencode($argAry['demo']) . .
first_name= . urlencode($argAry['first_name']) . .
last_name= . urlencode($argAry['last_name']) . .
[. . .]
Is the folowing possible to do?
I fill in a form and press submit.
Then I read a record from a database. With this data it submits to the read submits
url. After 10 seconds, it reads the next record and submits that data. etc etc
So I don't have to push submit each time I want to submit. After
At 03.04.2002 11:22, you wrote:
Is the folowing possible to do?
I fill in a form and press submit.
Then I read a record from a database. With this data it submits to the
read submits url. After 10 seconds, it reads the next record and submits
that data. etc etc
So I don't have to push
-Original Message-
From: Martin Kampherbeek [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 03, 2002 11:23 AM
To: [EMAIL PROTECTED]
Subject: [PHP] auto submit
Is the folowing possible to do?
I fill in a form and press submit.
Then I read a record from a database. With this data
If you are trying to collect things like monitor size or other user data you
could try putting the JS in the head and then put a meta refresh tag with
time period of 0. I haven't actually tried this but it might work.
--
Mike
~~~
MICHAEL R.
Hi
I use java script like this:
head
script language=javascript
function highlight() {
document.options.continue.focus();
}
/script
/head
body onload=highlight()
form name=options action=whatever.php method=post
input type=submit name=cancel value=Cancel
input type =submit name=continue
Hi all, please help me with this problem i'm desperate...
I have a problem with form submits.
I have an access control form that my users fill to enter to a private
web page, this access page saves 2 session variables and shows the
result page that it's an php page with several queries to
Hi all,
I noticed this chunk of code in a site the other day:
input type=Submit name=btn value=Yes
input type=Submit name=btn value=No
My GUESS is that if i click the Yes button, I magically
get $btn = Yes as a var is the receieving PHP script.
I was just about to test this, when I
I haven't found a way to disable the Enter key to submit the form, as I
believe it does exists, but, found a way so when Enter is pressed works like
Tab, moving to the next form field.
Here:
http://www.faqts.com/knowledge_base/view.phtml/aid/6793/fid/129
Google search used:
I've a script accepting four different forms depending on the user choice.
Some of the forms have two submit buttons forcking actions accordingly to
the pressed button.
The problem is: $HTTP_POST_VARS[submit] is not set if the user press
ENTER
instead of clicking the button and the scripts
When using if (!$submit) I get an error saying:
Warning: Undefined variable: submit in C:\Inetpub\webpub\default.php on line
1
Fair enough, so then I add if (isset(!$submit)) and I then get an error;
Parse error: parse error, expecting `T_VARIABLE' or `'$''
Could someone please tell me the more
PROTECTED]
Sent: Tuesday, August 07, 2001 4:47 PM
Subject: [PHP] if(!$submit)
When using if (!$submit) I get an error saying:
Warning: Undefined variable: submit in C:\Inetpub\webpub\default.php on
line
1
Fair enough, so then I add if (isset(!$submit)) and I then get an error;
Parse error: parse
try.
if(isset($submit))
{
}
chris
- Original Message -
From: Tarrant Costelloe [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, August 07, 2001 10:47 AM
Subject: [PHP] if(!$submit)
When using if (!$submit) I get an error saying:
Warning: Undefined variable: submit in C
if (!isset($submit))
:)
on 8/7/01 8:47 AM, Tarrant Costelloe at [EMAIL PROTECTED] wrote:
When using if (!$submit) I get an error saying:
Warning: Undefined variable: submit in C:\Inetpub\webpub\default.php on line
1
Fair enough, so then I add if (isset(!$submit)) and I then get an error;
How do I auto load or auto submit a form on the same page? I don't want
to have to press the submit button instead just click on a value in the
drop down form and it loads (I am lazy).
Using php4.something
--
This email was sent using w3mail.
--
PHP General Mailing List
http://www.devguru.com/Technologies/ecmascript/quickref/select.html
Javascript. Use onBlur or onChange and call document.formname.submit().
Pete.
Fates [EMAIL PROTECTED] wrote in message
How do I autoload a selection from a drop down menu form based on the
selection without having to click a submit button?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list
David wrote:
How do I autoload a selection from a drop down menu form based on the
selection without having to click a submit button?
Everything to do with forms is either to do with hitting a submit button
(call to a server) or without (which means that the browser/client is
handling it), so
Fates [EMAIL PROTECTED] wrote:
How do I auto load or auto submit a form on the same page? I don't want
to have to press the submit button instead just click on a value in the
drop down form and it loads (I am lazy).
use javascript, to find you answer look here
Whenever I use the ? if ($submit) ? statement in a php page it always
comes up with:
Warning: Undefined variable
Until the submit has been hit, and then it continue on with the rest of the
script fine ( ifelse).
How do you stop this warning message?
Thanks in advance!
Tarrant Costelloe
Web
i always use such statements like :
if ($submit) { then do this }
else { render the page
}
and it works fine...
-Original Message-
From: Tarrant Costelloe [mailto:[EMAIL PROTECTED]]
Sent: 21 May 2001 15:16
To: Php (E-mail)
Subject: [PHP] if $submit
Whenever I use the ? if ($submit
error_reporting (E_ALL ^ E_NOTICE);
http://www.php.net/manual/en/function.error-reporting.php
I personally change my php.ini setting to:
error_reporting = E_ALL ~E_NOTICE
Then at the top of my scripts which I want to debug I add the line:
error_reporting(E_ALL);
Plutarck
Tarrant
For the sake of completeness, whenever PHP encounters a reference to a
variable which has not been set it will throw a warning.
The reason most people don't see that behavior is that their version of PHP
uses the default setting of show all errors but don't mention the
warnings. If they use:
do you stop this warning message?
1) set new error level: error_reporting( E_ALL ^ E_NOTICE);
2) use isset()
if( isset( $submit)) { ...
3) or use @ in front of the variable
if( @$submit) { ...
- Markus
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail
When using:
?php if (!$submit)
{
// First html page containing login form
}
else
{
// Results of login form, including login failed or successful print()
}
?
I get an error on line one, due to it at first not recognising the variable
$submit. If I ignore this and continue to fill in the form
Two suggestions:
Use
if (!isset($submit))
OR
change the order around
?php
if ($submit)
{
// Results of login form, including login failed or successful print()
}
else
{
// First html page containing login form
}
?
kind regards,
bill hollett
Tarrant Costelloe wrote:
When
PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
When using:
?php if (!$submit)
{
// First html page containing login form
}
else
{
// Results of login form, including login failed or successful print()
}
?
I get an error on line one, due to it
86 matches
Mail list logo