[PHP] Re: Submit Using An Image Form Processing

2011-06-18 Thread Geoff Lane
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

Re: [PHP] Re: Submit Using An Image Form Processing

2011-06-18 Thread Ashley Sheridan
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

Re: [PHP] 2 submit buttons.

2011-02-15 Thread Floyd Resler
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

Re: [PHP] 2 submit buttons.

2011-02-15 Thread Steve Staples
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:

[PHP] 2 submit buttons.

2011-02-14 Thread Paul Halliday
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

Re: [PHP] 2 submit buttons.

2011-02-14 Thread Paul M Foster
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

Re: [PHP] 2 submit buttons.

2011-02-14 Thread Floyd Resler
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

Re: [PHP] 2 submit buttons.

2011-02-14 Thread Paul M Foster
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']))

Re: [PHP] 2 submit buttons.

2011-02-14 Thread tolga
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

Re: [PHP] 2 submit buttons.

2011-02-14 Thread Dmitrii Varvashenia
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']){

Re: [PHP] 2 submit buttons.

2011-02-14 Thread Dmitrii Varvashenia
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:

Re: [PHP] Multiple Submit

2007-02-27 Thread Richard Lynch
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

Re: [PHP] Multiple Submit

2007-02-27 Thread Richard Lynch
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

[PHP] Multiple Submit

2007-02-26 Thread Dan Shirah
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

Re: [PHP] Multiple Submit

2007-02-26 Thread Németh Zoltán
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

Re: [PHP] Multiple Submit

2007-02-26 Thread tedd
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

Re: [PHP] Multiple Submit

2007-02-26 Thread Dan Shirah
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

Re: [PHP] Multiple Submit

2007-02-26 Thread David Giragosian
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

Re: [PHP] Multiple Submit

2007-02-26 Thread Jim Lucas
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

Re: [PHP] Multiple Submit

2007-02-26 Thread Jim Lucas
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

RE: [PHP] Image submit with mouse over

2006-07-17 Thread Chris W. Parker
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

RE: [PHP] Image submit with mouse over

2006-07-17 Thread Chris W. Parker
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,

RE: [PHP] Image submit with mouse over

2006-07-17 Thread Robert Cummings
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

Re: [PHP] Image submit with mouse over

2006-07-17 Thread Skip Evans
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:

Re: [PHP] Image submit with mouse over

2006-07-17 Thread Jochem Maas
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

RE: [PHP] Image submit with mouse over

2006-07-17 Thread Jay Blanchard
[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

Re: [PHP] Image submit with mouse over

2006-07-15 Thread Stut
-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

[PHP] Image submit with mouse over

2006-07-14 Thread Skip Evans
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

Re: [PHP] Image submit with mouse over

2006-07-14 Thread Skip Evans
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.

Re: [PHP] Image submit with mouse over

2006-07-14 Thread Tom Rogers
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

[PHP] Re: Submit Form Values To Parent

2005-12-02 Thread Matt Monaco
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

[PHP] Re: Submit Form Values To Parent

2005-12-01 Thread DvDmanDT
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

[PHP] auto-submit

2004-06-28 Thread Jim Rainville
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

[PHP] Re: Submit button as image

2004-05-12 Thread Justin Patrin
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

[PHP] using submit button and PHP-HELP

2003-09-22 Thread Angelo Zanetti
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

Re: [PHP] using submit button and PHP-HELP

2003-09-22 Thread Marek Kilimajer
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

RE: [PHP] using submit button and PHP-HELP

2003-09-22 Thread Angelo Zanetti
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

[PHP] Re: submit button

2003-03-07 Thread Foong
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

[PHP] Re: submit button

2003-03-07 Thread Foong
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

[PHP] Re: SUBMIT

2003-03-07 Thread Foong
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

[PHP] form submit oddities?

2003-03-04 Thread Ray
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

Re: [PHP] Get variable from PHP before submit

2003-03-02 Thread Lars Espelid
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

Re: [PHP] Get variable from PHP before submit

2003-03-02 Thread Lars Espelid
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

Re: [PHP] Get variable from PHP before submit

2003-03-01 Thread Chris Hayes
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

RE: [PHP] Get variable from PHP before submit

2003-03-01 Thread Rich Gray
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

[PHP] Get variable from PHP before submit

2003-02-28 Thread Lars Espelid
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.

[PHP] Re: Submit buttons

2003-02-25 Thread Oliver Witt
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

[PHP] Re: Submit buttons

2003-02-25 Thread Greg
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?

RE: [PHP] Re: Submit buttons

2003-02-25 Thread Bryan Lipscy
://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

[PHP] Re: Submit Form

2003-01-09 Thread DreamRiver
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

[PHP] image submit buttons

2002-11-04 Thread John Meyer
(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

RE: [PHP] image submit buttons

2002-11-04 Thread John W. Holmes
(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

[PHP] two submit buttons redirecting to two scripts

2002-10-14 Thread Sonal Patel
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

[PHP] Re: Getting PHP to submit a form to google

2002-08-16 Thread lallous
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

RE: [PHP] Re: Getting PHP to submit a form to google

2002-08-16 Thread Michael Geier
; 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

[PHP] Getting PHP to submit a form to google

2002-08-15 Thread Henry
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

RE: [PHP] Getting PHP to submit a form to google

2002-08-15 Thread David Piasecki
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

[PHP] Re: Submit code

2002-07-16 Thread Martin Thoma
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

[PHP] Re: Submit code

2002-07-16 Thread Kondwani Spike Mkandawire
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

[PHP] Re: Submit code

2002-07-16 Thread Lee Doolan
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']) . . [. . .]

[PHP] auto submit

2002-04-03 Thread Martin Kampherbeek
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

Re: [PHP] auto submit

2002-04-03 Thread heinisch
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

RE: [PHP] auto submit

2002-04-03 Thread Maxim Maletsky
-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

[PHP] Re: pass javascript variable to php without submit or reload

2001-11-12 Thread Mike Harvey
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.

Re: [PHP] Multiple SUBMIT Buttons and Default

2001-11-08 Thread Tom Rogers
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

[PHP] Newbie! Submit Form needs reload the page to show results the first time]

2001-10-01 Thread Karina Gómez Salgado
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

[PHP] multiple submit buttons

2001-08-29 Thread Justin French
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

[PHP] Re: submit form problem

2001-08-12 Thread Inércia Sensorial
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:

[PHP] Re: submit form problem

2001-08-12 Thread Richard Lynch
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

[PHP] if(!$submit)

2001-08-07 Thread Tarrant Costelloe
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

Re: [PHP] if(!$submit)

2001-08-07 Thread Wagner Tomy
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

Re: [PHP] if(!$submit)

2001-08-07 Thread Chris Cocuzzo
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

Re: [PHP] if(!$submit)

2001-08-07 Thread mike cullerton
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;

[PHP] Auto submit form, How?

2001-06-30 Thread Fates
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

Re: [PHP] Auto submit form, How?

2001-06-30 Thread Peter Dudley
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

[PHP] Auto submit form

2001-06-30 Thread David
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

Re: [PHP] Auto submit form

2001-06-30 Thread Justin French
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

Re: [PHP] Auto submit form, How?

2001-06-30 Thread Henrik Hansen
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

[PHP] if $submit

2001-05-21 Thread Tarrant Costelloe
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

RE: [PHP] if $submit

2001-05-21 Thread Sandeep Hundal
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

Re: [PHP] if $submit

2001-05-21 Thread Plutarck
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

Re: [PHP] if $submit

2001-05-21 Thread Plutarck
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:

Re: [PHP] if $submit

2001-05-21 Thread Markus Fischer
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

[PHP] If (!$submit)

2001-05-17 Thread Tarrant Costelloe
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

Re: [PHP] If (!$submit)

2001-05-17 Thread bill
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

Re: [PHP] If (!$submit)

2001-05-17 Thread Plutarck
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