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
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
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
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
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
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
$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
>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!
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
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
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'
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
12 matches
Mail list logo