Re: [PHP] form variables issue

2006-01-31 Thread Richard Lynch
On Tue, January 31, 2006 5:03 am, All U Want wrote: > I'm sure it is a very simple question for you but I'm getting almost > crazy. > > I've got a simple form with several form objects, one of them is a > text field. After submitting the form if one of the form objects > hasn't been modified I will

Re: [PHP] form variables issue

2006-01-31 Thread Richard Correia
Can you check the source code? are there values in source, but it is not displayed on the browser? check this code snippet Thanks Richard On 1/31/06, All U Want <[EMAIL PROTECTED]> wrote: > > Hi folks, > > I'm sure it is a very simple question for you but I'm getting almost > crazy. > > I'v

RE: [PHP] form variables issue

2006-01-31 Thread Weber Sites LTD
t for your site : http://content.weber-sites.com -Original Message- From: All U Want [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 31, 2006 1:04 PM To: [php] PHP General List Subject: [PHP] form variables issue Hi folks, I'm sure it is a very simple question for you but I'm

[PHP] form variables issue

2006-01-31 Thread All U Want
Hi folks, I'm sure it is a very simple question for you but I'm getting almost crazy. I've got a simple form with several form objects, one of them is a text field. After submitting the form if one of the form objects hasn't been modified I will show the same form but keeping the data p

Re: [PHP] form variables

2005-05-05 Thread Ryan Faricy
A hidden INPUT would be better... ... "Bala Chandar" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] hi On 5/5/05, Anasta <[EMAIL PROTECTED]> wrote: > Can anyone tell me how a submit button can be used to send set a variable > so > there is only a button --no textfield. use valu

Re: [PHP] form variables

2005-05-05 Thread bala chandar
hi On 5/5/05, Anasta <[EMAIL PROTECTED]> wrote: > Can anyone tell me how a submit button can be used to send set a variable so > there is only a button --no textfield. use value="" in the button html component -- bala> balachandar muruganantham blog> lynx http://chandar.blogspot.com web> http:

Re: [PHP] form variables

2005-05-05 Thread Petar Nedyalkov
On Thursday 05 May 2005 17:46, Anasta wrote: > Can anyone tell me how a submit button can be used to send set a variable > so there is only a button --no textfield. Use hidden input fields. -- Cyberly yours, Petar Nedyalkov Devoted Orbitel Fan :-) PGP ID: 7AE45436 PGP Public Key: http://bu.or

[PHP] form variables

2005-05-05 Thread Anasta
Can anyone tell me how a submit button can be used to send set a variable so there is only a button --no textfield. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Form variables + sessions, is this how it is supposed to work? - Grammar corrected

2004-01-24 Thread Paul
I figured out my problem but I am not sure why this is. I am trying to implement a back button to allow the user to go back and change form values. If I use sessions and register $test then this does not work, the value of $test does not change if the user re-submits: Thanks for any he

Re: [PHP] Form variables + sessions, is this how it is supposed to work?

2004-01-24 Thread Paul
OK thanks. I figured out my problem but I am not sure why this is. I am trying to impliment a back button to allow the user to go back and change form values. If I uses sessions and register $test then this does not work, it sticks does not change the value of $test if the user re-submits: Tha

Re: [PHP] Form variables + sessions, is this how it is supposed to work?

2004-01-24 Thread Jason Wong
On Sunday 25 January 2004 04:02, Paul wrote: > If I register a session variable, set its value with one form and then try > to change its value with another form, it seems to retain only the original > value and is not replaced with the newly posted one? > > Is this how it is supposed to work and

[PHP] Form variables + sessions, is this how it is supposed to work?

2004-01-24 Thread Paul
Thanks for any advice. If I register a session variable, set its value with one form and then try to change its value with another form, it seems to retain only the original value and is not replaced with the newly posted one? Is this how it is supposed to work and I have to unset the variable to

RE: [PHP] form variables

2003-12-20 Thread Ewout de Boer
-Oorspronkelijk bericht- Van: Nitin [mailto:[EMAIL PROTECTED] Verzonden: zaterdag 20 december 2003 7:30 Aan: PHP-General Onderwerp: [PHP] form variables > i've an application, where i'm receiving variables from an html form and process them in the script. depending on

Re: [PHP] form variables

2003-12-19 Thread Nitin
thanx for a quick reply and i'm sorry for it was so dumb qu nitin - Original Message - From: "Robert Cummings" <[EMAIL PROTECTED]> To: "Nitin" <[EMAIL PROTECTED]> Cc: "PHP-General" <[EMAIL PROTECTED]> Sent: Saturday, December 20, 2003

Re: [PHP] form variables

2003-12-19 Thread Robert Cummings
On Sat, 2003-12-20 at 01:29, Nitin wrote: > hi all, > > i've an application, where i'm receiving variables from an html form and process > them in the script. depending on the values, i may want to get some extra > information from user through another form. now, problem is how can i keep the >

[PHP] form variables

2003-12-19 Thread Nitin
hi all, i've an application, where i'm receiving variables from an html form and process them in the script. depending on the values, i may want to get some extra information from user through another form. now, problem is how can i keep the vaiables received from the first form, without passin

Fwd: Re: [PHP] Form variables lost when duplicate records arefound !

2003-09-02 Thread Matt Matijevich
The approach of using $_GET variables would just make the URL very very long, like imagine having to pass close to 33 variables on the form. The other option wud be to use $_SESSION array to store the form variables. Does anyone have nay other suggestion.? Thanks in advance ! /pS On Tuesday

Re: [PHP] Form variables lost when duplicate records are found !

2003-09-02 Thread Pushpinder Singh Garcha
I am currently using sessions on my site // are you suggesting that I store all the possible 30 form variables in a temp session array. ?? and destroy it afterwards Thanks -Pushpinder On Tuesday, September 2, 2003, at 04:41 PM, Matt Matijevich wrote: [snip] then the forms variables are stored a

Re: [PHP] Form variables lost when duplicate records are found !

2003-09-02 Thread CPT John W. Holmes
From: "Pushpinder Singh Garcha" <[EMAIL PROTECTED]> > I am making use of a php form to add company details to a MySQL > Database. Before I add the form variables I am checking to see if the > SAME company name exists in the DB. If the same company exists, then a > notification is provided. In bet

Re: [PHP] Form variables lost when duplicate records are found !

2003-09-02 Thread Chris Shiflett
--- Pushpinder Singh Garcha <[EMAIL PROTECTED]> wrote: > I am making use of a php form to add company details to a MySQL > Database. Before I add the form variables I am checking to see if the > SAME company name exists in the DB. If the same company exists, then a > notification is provided. In

Re: [PHP] Form variables lost when duplicate records are found!

2003-09-02 Thread Matt Matijevich
[snip] then the forms variables are stored and NOT LOST ?? [/snip] Have you looked into sessions? http://www.php.net/manual/en/ref.session.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Form variables lost when duplicate records are found !

2003-09-02 Thread Pushpinder Singh Garcha
Hello everyone, I am making use of a php form to add company details to a MySQL Database. Before I add the form variables I am checking to see if the SAME company name exists in the DB. If the same company exists, then a notification is provided. In between this , the variables that were ente

RE: [PHP] Form Variables not getting passed || Apache, MySql, Win2k Setup

2003-01-29 Thread Philip Olson
> You never answered if this was in a function or class > method. Is it? Did you say whether it was Apache 1 or 2? Also, to check what the register_globals setting really is, make a call to phpinfo() as it will tell you the true setting. Sometimes the wrong php.ini is edited or the web server

RE: [PHP] Form Variables not getting passed || Apache, MySql, Win 2k Setup

2003-01-29 Thread John W. Holmes
[EMAIL PROTECTED]] > Sent: Thursday, January 30, 2003 12:35 AM > To: Ernest E Vogelsinger > Cc: Philip Olson; [EMAIL PROTECTED] > Subject: Re: [PHP] Form Variables not getting passed || Apache, MySql, Win > 2k Setup > > H. > > Sounds like "resorting"

Re: [PHP] Form Variables not getting passed || Apache, MySql, Win 2k Setup

2003-01-29 Thread Noah
Cc: "Philip Olson" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, January 29, 2003 2:58 PM Subject: Re: [PHP] Form Variables not getting passed || Apache, MySql, Win 2k Setup > At 02:55 30.01.2003, Noah said: > [snip] >

Re: [PHP] Form Variables not getting passed || Apache, MySql, Win 2k Setup

2003-01-29 Thread Noah
r" <[EMAIL PROTECTED]> To: "Noah" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, January 29, 2003 2:55 PM Subject: Re: [PHP] Form Variables not getting passed || Apache, MySql, Win 2k Setup > At 02:48 30.01.2003, Noah said: > [s

Re: [PHP] Form Variables not getting passed || Apache, MySql, Win 2k Setup

2003-01-29 Thread Jim Lucas
Jim - Original Message - From: "Jason Wong" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, January 29, 2003 2:59 PM Subject: Re: [PHP] Form Variables not getting passed || Apache, MySql, Win 2k Setup > On Thursday 30 January 2003 09:55, Noah wrote: >

Re: [PHP] Form Variables not getting passed || Apache, MySql, Win 2k Setup

2003-01-29 Thread Ernest E Vogelsinger
At 02:55 30.01.2003, Noah said: [snip] >I don't want to use $_REQUEST['my_passed_variable'] at all. > >Right now when I do an sql insert on my local machine I have to use the >following syntax: > >INSERT into tablename (field name list) >VALUES ($_REQUEST['va

Re: [PHP] Form Variables not getting passed || Apache, MySql, Win 2k Setup

2003-01-29 Thread Noah
d more info, --Noah ----- Original Message - From: Leif K-Brooks To: Noah Cc: [EMAIL PROTECTED] Sent: Wednesday, January 29, 2003 2:19 PM Subject: Re: [PHP] Form Variables not getting passed || Apache, MySql, Win 2k Setup Mind giving a code snippet? Noah wrote: Thanks for t

Re: [PHP] Form Variables not getting passed || Apache, MySql, Win 2k Setup

2003-01-29 Thread Jason Wong
On Thursday 30 January 2003 09:55, Noah wrote: > I don't want to use $_REQUEST['my_passed_variable'] at all. > > Right now when I do an sql insert on my local machine I have to use the > following syntax: > > INSERT into tablename (field name list) > VALUES ($_REQUEST['var1'], $_REQUEST['var2'], $

Re: [PHP] Form Variables not getting passed || Apache, MySql, Win 2k Setup

2003-01-29 Thread Jim Lucas
<[EMAIL PROTECTED]> Sent: Wednesday, January 29, 2003 5:55 PM Subject: Re: [PHP] Form Variables not getting passed || Apache, MySql, Win 2k Setup > I don't want to use $_REQUEST['my_passed_variable'] at all. > > Right now when I do an sql insert on my local machine I hav

Re: [PHP] Form Variables not getting passed || Apache, MySql, Win 2k Setup

2003-01-29 Thread Ernest E Vogelsinger
At 02:48 30.01.2003, Noah said: [snip] >Yup. Restarted Apache. > >PHP's still not evaluating the passed form vars whether register globals is >set to On or Off [snip] Just thinking the unthinkable... Most of

Re: [PHP] Form Variables not getting passed || Apache, MySql, Win 2k Setup

2003-01-29 Thread Noah
27;]) I just want to use $var1, $var2, $var3 --Noah - Original Message - From: "Philip Olson" <[EMAIL PROTECTED]> To: "CF High" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, January 29, 2003 2:23 PM Subject: Re: [PHP] Form Variables no

Re: [PHP] Form Variables not getting passed || Apache, MySql, Win 2k Setup

2003-01-29 Thread Noah
PROTECTED]> Sent: Wednesday, January 29, 2003 2:23 PM Subject: Re: [PHP] Form Variables not getting passed || Apache, MySql, Win 2k Setup > At 01:36 30.01.2003, CF High said: > [snip] > >However, setting register_globals on or off make

Re: [PHP] Form Variables not getting passed || Apache, MySql, Win 2k Setup

2003-01-29 Thread Ernest E Vogelsinger
At 01:36 30.01.2003, CF High said: [snip] >However, setting register_globals on or off makes no difference. The >variables are still not getting evaluated [snip] I _BET_ it's register_globals. Did you restart

Re: [PHP] Form Variables not getting passed || Apache, MySql, Win2k Setup

2003-01-29 Thread Philip Olson
One too many $'s in your code, use: $_REQUEST['my_passed_variable'] This is how all arrays work, autoglobals are the same. See also: http://www.php.net/variables.external http://www.php.net/variables.predefined Regards, Philip On Wed, 29 Jan 2003, CF High wrote: > Hey all. > > T

Re: [PHP] Form Variables not getting passed || Apache, MySql, Win2k Setup

2003-01-29 Thread Leif K-Brooks
: "Leif K-Brooks" <[EMAIL PROTECTED]> To: "CF High" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, January 29, 2003 1:38 PM Subject: Re: [PHP] Form Variables not getting passed || Apache, MySql, Win 2k Setup RTFM! Your problem is register_globals

Re: [PHP] Form Variables not getting passed || Apache, MySql, Win2k Setup

2003-01-29 Thread Leif K-Brooks
RTFM! Your problem is register_globals. CF High wrote: Hey all. This driving me nuts: I've got Apache, MySql, and Windows 2000 running on my local machine. In order to get passed php variables evaluated, whether via a url query string, or through a form post, I have to use this syntax: $_

[PHP] Form Variables not getting passed || Apache, MySql, Win 2k Setup

2003-01-29 Thread CF High
Hey all. This driving me nuts: I've got Apache, MySql, and Windows 2000 running on my local machine. In order to get passed php variables evaluated, whether via a url query string, or through a form post, I have to use this syntax: $_REQUEST[$my_passed_variable] I have no such problem with

Re: [PHP] Form variables not working

2002-11-16 Thread Jason Wong
On Sunday 17 November 2002 00:36, Chris Jackson wrote: > I am havein troubles gettin my form variables to work. > The "register_globals" in php.ini is set to its default of "off". [snip] > the dosent print anything in the action of the > form and the Because register globals is disabled you ha

Re: [PHP] Form variables not working

2002-11-16 Thread Ernest E Vogelsinger
At 17:36 16.11.2002, Chris Jackson said: [snip] >I am havein troubles gettin my form variables to work. >The "register_globals" in php.ini is set to its default of "off". > >the dosent print anything in the action of the form That's because register_global

Re: [PHP] Form variables not working

2002-11-16 Thread Leif K-Brooks
Because it isn't? Instead of echoing $PHP_SELF, echo $_SERVER['PHP_SELF']. With the $_POST problem, it's complaining that you're using a variable that isn't defined. Use? if(array_key_exists('formfieldnamegoeshere',$_POST)){ print $_POST['formfieldnamegoeshere']; } ?> Chris Jackson wrote: I

[PHP] Form variables not working

2002-11-16 Thread Chris Jackson
I am havein troubles gettin my form variables to work. The "register_globals" in php.ini is set to its default of "off". code: Form Series - Example One asdasdasddassad the dosent print anything in the action of the form and the echo $_POST["answered"]; on the first run gives

Re: [PHP] Form variables vs Sessions

2002-10-29 Thread Chris Shiflett
Follow your instincts and do some research into sessions. I've put enormous amounts of data into sessions before on high-traffic sites without much trouble. You need to have the memory for it, of course, but it takes a lot of form data to equate to any significant amount. Chances are you'll be

[PHP] Form variables vs Sessions

2002-10-29 Thread John W
I am having a problem with a form system that I am developing. It is a multi page form with over a hundred different possible variables. The problem that I'm having is that when a user enters invalid data on one page and then submits to the next page I want that page to go back to the previous p

Re: [PHP] form variables

2002-09-09 Thread Justin French
The text field only has newlines (\n) not breaks. For starters, in the text area tag, you need wrap="virtual": Then instead of print "$mailingAddress"; try print nl2br($mailingAddress).""; ... which converts all new lines (\n) into breaks () Regards, Justin on 10/09/02 2:21 PM,

Re: [PHP] form variables

2002-09-09 Thread Hans Prins
thank you very much :-) "Chris Shiflett" <[EMAIL PROTECTED]> schreef in bericht [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I am guessing you mean the input is a textarea. > > At any rate, I believe what you want is nl2br() > > Happy hacking. > > Chris > > Hans Prins wrote: > > >Hello, > > > >

Re: [PHP] form variables

2002-09-09 Thread Chris Shiflett
I am guessing you mean the input is a textarea. At any rate, I believe what you want is nl2br() Happy hacking. Chris Hans Prins wrote: >Hello, > >I have a form field of the type "scrolling text box" it lets users input a >multiline string. I then pass this string as a variable to a php docume

[PHP] form variables

2002-09-09 Thread Hans Prins
Hello, I have a form field of the type "scrolling text box" it lets users input a multiline string. I then pass this string as a variable to a php document that prints this string to the screen: print "$mailingAddress"; however. this outputs it all in one line. Does anyone have an idea as t

[PHP] Form variables not passing: globals IS on

2002-08-12 Thread Petre Agenbag
Sorry, posted with the wrong address, here it is again: I have RH 7.3 with "everything" install, and I didn't make ANY changes to the default php.ini, and have checked it and register_global = On Now, when I make a simple form and action page combo, the variables are not passed: You can see from

[PHP] Form variables not passed: register_globals = On

2002-08-12 Thread Petre Agenbag
Hi I have posted here about session problems etc, but I think I found the problem: My Form variables are not passed at all! Look at this: index.php page2.php "; echo " POST_VARS: ".$_POST["test"].""; echo " normal test :".$test.""; ?> I have installed a "everything" RedHat 7.3 installa

Re: [PHP] Form Variables

2002-06-07 Thread Beeman
You are correct. My web server is Running 4.2.1 and all of the sites are still working.. That is why I assumed that it was a problem locally, but after looking at the web server the globals is turned on. Thanks.. I can go forward now. I appreciate your help On 6/7/02 9:33 PM, "Philip Olson" <[EM

Re: [PHP] Form Variables

2002-06-07 Thread Philip Olson
Actually, they are. You are assuming the PHP directive register_globals = on when using $phrase from the form below. register_globals = on is what creates $phrase. As of PHP 4.2.0 the default value for register_globals has become off. Regardless, there are other options: Try either: //

Re[2]: [PHP] Form Variables

2002-06-07 Thread Stuart Dallas
On Saturday, June 8, 2002 at 2:22:02 AM, you wrote: > I just read the release notes and do not believe they are referring to my > dilemma. Actually, I think they point out the exact reason for your 'dilemma'. > Here is the code I am using. Just a basic form > <> > if ($phrase){ echo "Phrase--

Re: [PHP] Form Variables

2002-06-07 Thread Beeman
I just read the release notes and do not believe they are referring to my dilemma. Here is the code I am using. Just a basic form <> Phrase: <> On 6/7/02 9:08 PM, "Stuart Dallas" <[EMAIL PROTECTED]> wrote: > On Saturday, June 8, 2002 at 1:56:35 AM, you wrote: > >> I rece

Re: [PHP] Form Variables

2002-06-07 Thread Stuart Dallas
On Saturday, June 8, 2002 at 1:56:35 AM, you wrote: > I recently installed PHP 4.2.1 on my G4 Powerbook (OS X v10.1.4) running > Apache 1.3.2. I have verified that php is running and apache is running. > When I access a page locally http://127.0.0.1/simple_form.php, fill in the > only text box an

[PHP] Form Variables

2002-06-07 Thread Beeman
I recently installed PHP 4.2.1 on my G4 Powerbook (OS X v10.1.4) running Apache 1.3.2. I have verified that php is running and apache is running. When I access a page locally http://127.0.0.1/simple_form.php, fill in the only text box and submit the form to form_act.php. The variable doesn't exist

Re: [PHP] form variables

2002-03-04 Thread Jason Wong
On Tuesday 05 March 2002 10:52, Craig Westerman wrote: > OK, changing from post to get gets me what I'm after. Thanks guys. > Something odd though. > > If I type in RHAT and hit enter, I get this URL which is what I want. > quotestest.php?quote=RHAT > > If I type in RHAT and click submit button, I

RE: [PHP] form variables

2002-03-04 Thread Martin Towell
remove the "name" from the submit so it's just: -Original Message- From: Craig Westerman [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 05, 2002 1:52 PM To: php-general-list; Tom Rogers Subject: RE: [PHP] form variables OK, changing from post to get gets me what I&

RE: [PHP] form variables

2002-03-04 Thread Craig Westerman
8:07 PM To: Craig Westerman; php-general-list Subject: Re: [PHP] form variables hi Use This will work as long as the form is not too big Tom -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] form variables

2002-03-04 Thread Martin Towell
change "post" to "get" -Original Message- From: Dan Vande More [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 05, 2002 12:48 PM To: php-general-list Subject: RE: [PHP] form variables Do you mean to have the extra '=' in there? Should it be: inste

Re: [PHP] form variables

2002-03-04 Thread Tom Rogers
hi Use This will work as long as the form is not too big Tom At 11:14 AM 5/03/2002, Craig Westerman wrote: > > > > > > > > >The above form passes $quote to the page quotestest.php >How can I also pass the $quote to the URL so that the page with variable can >be bookmarked? > >Do I have to

RE: [PHP] form variables

2002-03-04 Thread Dan Vande More
Do you mean to have the extra '=' in there? Should it be: instead of ? -Original Message- From: Craig Westerman [mailto:[EMAIL PROTECTED]] Sent: Monday, March 04, 2002 6:27 PM To: php-general-list; Greg Donald Subject: RE: [PHP] form variables Thanks Donald, I tried that

RE: [PHP] form variables

2002-03-04 Thread Craig Westerman
Thanks Donald, I tried that before and this is URL returnedquotestest.php?quote= Craig ><> [EMAIL PROTECTED] -Original Message- From: Greg Donald [mailto:[EMAIL PROTECTED]] Sent: Monday, March 04, 2002 7:17 PM To: Craig Westerman Cc: php-general-list Subject: Re: [

Re: [PHP] form variables

2002-03-04 Thread Greg Donald
On Mon, 4 Mar 2002, Craig Westerman wrote: > > > > > > > > >The above form passes $quote to the page quotestest.php >How can I also pass the $quote to the URL so that the page with variable can >be bookmarked? > >Do I have to modify both pages or just the input form? -- -

[PHP] form variables

2002-03-04 Thread Craig Westerman
The above form passes $quote to the page quotestest.php How can I also pass the $quote to the URL so that the page with variable can be bookmarked? Do I have to modify both pages or just the input form? Thanks Craig ><> [EMAIL PROTECTED]

[PHP] form variables: back and forth

2001-04-26 Thread meling
Hi all, Here's a snippet of a code for a spell checker that I am working on. I've done all the checking correctly, except that after checking and correcting, I have absolutely no idea how to return the modified message back to the previous form. Can anyone please help? Thanks in advance, --mel

[PHP] Form variables

2001-03-21 Thread Sascha Andres
Hi, i want to build up a form dynamicly which posts always to one php script. how can i get all the variavbles - best with name ? sascha -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the

Re: [PHP] Form variables

2001-03-21 Thread Alexander Wagner
Michael George wrote: > I read this after I'd created a script which generates a form with a > 2D array on it. But as I test it, it seems to work. > > In short, it the 1D array a limitation of > HTML or PHP? I think it is a limitation of PHP 3. It should work with PHP 4. HTML is not responsible

[PHP] Form variables

2001-03-21 Thread Michael George
According to the docs, when creating form variables which will be passed as globals to the next PHP script invocation, one can make single dimensional arrays, but not multi-dimensional arrays. I read this after I'd created a script which generates a form with a 2D array on it. But as I test it,

Re: [PHP] Form Variables!!!!!

2001-02-22 Thread John Monfort
Hey...Bruno from Brazil :) Try this while ( list ( $key,$value ) = each($HTTP_POST_VARS) ) { echo "$key: $value"; } This will list every variable that was past to the browser. Enjoy! __John Monfort_ _+---+_ P E P I

RE: [PHP] Form Variables!!!!!

2001-02-21 Thread Boget, Chris
> My problem is: > I wanna know the names of the variables that my actual page > recives from the last page (using the POST method). while( list( $formVarName, $formVarValue = each( $HTTP_POST_VARS )) { echo "$formVarName = $formVarValue\n"; } Chris

[PHP] Form Variables!!!!!

2001-02-21 Thread Bruno Freire
Hi! It's me again Bruno From Brazil!! My problem is: I wanna know the names of the variables that my actual page recives from the last page (using the POST method). Thanks!! Bruno.

Re: [PHP] form variables showing blank but query shows non-blank ??

2001-02-19 Thread Richard Lynch
Show us all the code you chopped out, or at least every single line that mentions $pass_category. Or, faster for you to figure it out: Echo out $pass_category immediately before the if () statement. I'm betting you set it accidentally in the other code. > if ($pass_category > "") $sql2 = $sql2 .

RE: [PHP] form variables showing blank but query shows non-blank ??

2001-02-15 Thread Maxim Maletsky
: [PHP] form variables showing blank but query shows non-blank ?? Hi, I have a form that has 4 variables, one, $pass_category, being a select list. The form posts a php script. Once inside the PHP script if I have not selected one of the select list variables the value should be blank. If I echo

[PHP] form variables showing blank but query shows non-blank ??

2001-02-15 Thread Andre Bajew
Hi, I have a form that has 4 variables, one, $pass_category, being a select list. The form posts a php script. Once inside the PHP script if I have not selected one of the select list variables the value should be blank. If I echo this out the value shows as blank. However, I later check the valu