[PHP-WIN] passing variables

2003-10-11 Thread Peter Gerwing
I have 2 files one is a php file the other is an include file which has all the html in it The php fil calls up the include file to the browser no problem. When I fill in the cells it seems that the values are not being passed from the submit method post through back to the php file which needs to

Re: [PHP-WIN] Passing Variables and Internal Variables

2003-01-31 Thread cybot
Dash McElroy wrote: You are referencing the variables properly on the first if line, but then you're calling $var1 and $var2 w/o using $_GET. Add that or do this: $var1 = $_GET['var1']; $var2 = $_GET['var2']; You may also want to use !isset($varname) instead of checking to see if the variables a

Re: [PHP-WIN] Passing Variables and Internal Variables

2003-01-29 Thread Dash McElroy
You are referencing the variables properly on the first if line, but then you're calling $var1 and $var2 w/o using $_GET. Add that or do this: $var1 = $_GET['var1']; $var2 = $_GET['var2']; You may also want to use !isset($varname) instead of checking to see if the variables are equal to a space c

[PHP-WIN] Passing Variables and Internal Variables

2003-01-29 Thread Wade
01292003 1540 CST When I run this script I get the html at the end but no $result. If the result is run on the same page as the output, there shouldnt be anything variable wise stopping this from running, right? Wade http://localhost/Learning PHP/PHP Fast & Easy/Ch_6/calculate_form.html");

Re: [PHP-WIN] passing variables part 2

2002-10-10 Thread Cam Dunstan
db - a small word of caution on using the ampersand to send variables within the URL - it works just like Dash said it would but don`t try and send huge lumps of data this way - there are limits (possibly a couple of hundred bytes or so) to the length of the URL allowed. Limits you wouldn`t have

Re: [PHP-WIN] passing variables part 2

2002-10-10 Thread db
ah, thanks! "Dash McElroy" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Use an ampersand (&) like follows: > > echo "Press to continue"; > > -Dash > > Faith, n: > That quality which enables us to believe what we know to be > untrue. > > On Wed, 9 Oct 2002, d

Re: [PHP-WIN] passing variables part 2

2002-10-09 Thread Dash McElroy
Use an ampersand (&) like follows: echo "Press to continue"; -Dash Faith, n: That quality which enables us to believe what we know to be untrue. On Wed, 9 Oct 2002, db wrote: > this is a follow-up question to my question about passing a variable through > a link ie, > > echo "Pre

[PHP-WIN] passing variables part 2

2002-10-09 Thread db
this is a follow-up question to my question about passing a variable through a link ie, echo "Press to continue"; how would i go about passing more than one variable, say $i and $j? --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Vers

[PHP-WIN] Passing Variables

2002-05-23 Thread Opere, James
Hi All, I'm trying to pass variables from one form to the other.I have a problem when i want to do the the following: 1.COUNT($variable) 2.DISTINCT($variable) . I realise i can not use the brackets in my query and the variable be recognised.When i add COUNT without the brackets i stil

Re: [PHP-WIN] passing variables with 4.2

2002-04-26 Thread Mike Flynn
Didja think to check the version 4.1.2 release notes before posting your question? http://www.php.net/release_4_2_0.php At 03:26 PM 4/26/02 -0500, Chris Dion wrote: >Is there something I am missing here. With php 4.1.2 i can do >blah.php?action=foo but with 4.2 I can't. What am I doing wrong?

Re: [PHP-WIN] passing variables with 4.2

2002-04-26 Thread Rasmus Lerdorf
Turn on register_globals in your php.ini file and go read http://www.php.net/manual/en/security.registerglobals.php -Rasmus On Fri, 26 Apr 2002, Chris Dion wrote: > Is there something I am missing here. With php 4.1.2 i can do > blah.php?action=foo but with 4.2 I can't. What am I doing wrong?

[PHP-WIN] passing variables with 4.2

2002-04-26 Thread Chris Dion
Is there something I am missing here. With php 4.1.2 i can do blah.php?action=foo but with 4.2 I can't. What am I doing wrong? The php page just acts like nothing was passed. Happens with form data too. --Chris -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http:

[PHP-WIN] passing variables

2002-01-14 Thread Sandeep Murphy
hi all, I have a variable in a file called xmlparse.php called $data. $data stores in it an output returned by another php script.. I need to pass this variable $data now into yet another php file say new.php .. xmlparse.php $data = "blah blah"; --

[PHP-WIN] Passing Variables from One Function to Another

2001-07-11 Thread Flint Doungchak
Hey All, I'm feeling pretty dumb right now. Is there a way to pass a variable from one function to another. So for instance, if I have one function that returns x such as function boo() { $foo = 3; return $foo; } And then I have another function and I want to use $foo. function ahh() {