[PHP-WIN] Re: passing variables part 2

2002-10-13 Thread db
another roadblock: how would you pass a variable containing a path like $i="C:/pics/albums/album1"? is it possible? thanks. "Db" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > this is a follow-up question to my question about passing a variable through > a

Re: [PHP-WIN] Re: passing variables part 2

2002-10-13 Thread Cam Dunstan
db Far as I know it would - without the quotes of course. - Original Message - From: "db" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, October 12, 2002 7:40 AM Subject: [PHP-WIN] Re: passing variables part 2 > another roadblock: how

Re: [PHP-WIN] Re: passing variables part 2

2002-10-13 Thread db
amhome... > db > Far as I know it would - without the quotes of course. > > > - Original Message - > From: "db" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Saturday, October 12, 2002 7:40 AM > Subject: [PHP-WIN] Re: passing variable

RE: [PHP-WIN] Re: Passing Variables

2002-05-24 Thread Opere, James
alues. -Original Message- From: Nicole Amashta [mailto:[EMAIL PROTECTED]] Sent: Friday, May 24, 2002 12:52 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: [PHP-WIN] Re: Passing Variables Why do you need the group by clause? Do one or the other, not both. either do a select count(id) from

[PHP-WIN] Re: Passing Variables

2002-05-23 Thread Nicole Amashta
What error do you get? James Opere wrote: > 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 b

[PHP-WIN] Re: Passing Variables

2002-05-23 Thread Nicole Amashta
Why do you need the group by clause? Do one or the other, not both. either do a select count(id) from table or select field, count(id) from table group by field Check your query, Nicole Amashta www.aeontrek.com James Opere wrote: > Hi All, > I'm trying to pass variables from one form to the

[PHP-WIN] Re: Passing Variables

2002-05-23 Thread Michael Virnstein
$this usually is a self-reference inside a class. Use it with care! try to "echo $sql;", perhaps this tells you more. Regards Michael "James Opere" <[EMAIL PROTECTED]> schrieb im Newsbeitrag FC788AB9771FD6118E6F0002A5AD7B8F7268AB@ICRAFNTTRAIN">news:FC788AB9771FD6118E6F0002A5AD7B8F7268AB@ICRAFNTT

RE: [PHP-WIN] Re: passing variables

2002-01-14 Thread Svensson, B.A.T. (HKG)
>The data has to be dynamically fed into the parser... I am trying to make >the parser into a form of a class with a function that receives this >variable but so far Unsuccessful.. Just keep up that happy debugging spirit... :) >If anyone has any further suggestions/ideas, wud be damn gratefull!

RE: [PHP-WIN] Re: passing variables

2002-01-14 Thread Sandeep Murphy
Message- From: Pac mon [mailto:[EMAIL PROTECTED]] Sent: segunda-feira, 14 de Janeiro de 2002 14:48 To: [EMAIL PROTECTED] Subject: Re: [PHP-WIN] Re: passing variables There is NO need for that... When including a file it's as if the file were inline with the code in the spot in which include

Re: [PHP-WIN] Re: passing variables

2002-01-14 Thread Pac mon
There is NO need for that... When including a file it's as if the file were inline with the code in the spot in which include() is called. You may want to use require() to make sure that the file is actually being added. Also you just need to use $data wherever you want.. Or you can do it like

[PHP-WIN] Re: passing variables

2002-01-14 Thread Nicole Amashta
when you call the 2nd script, new.php, call it like this: new.php?sign=$data that is one way to pass it ... or you can keep the variable hidden by using sessions 1. xmlparse.php --- session_start(); // start a session session_register("data"); // register 'data'

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

2001-07-11 Thread Phillip Bow
You'd need the second function to accept and argument. That way you can do: function boo() { $foo = 3; return $foo; } function ahh($foo) { $fum = $foo + $fi; } $test = boo(); ahh($test); Or you could declare $foo as a global variable, but I tend not to do it that way. -- phill > Hey