On Nov 21, 2010, at 4:57 PM, Tamara Temple wrote:
On Nov 20, 2010, at 5:31 PM, Jason Pruim wrote:
Maybe it's just me, but using the name of a global as a function
parameter just seems like a bad idea. Yes, you can do it. Should
you? I think not. Especially, as, you are passing it a sca
On 20 November 2010 23:31, Jason Pruim wrote:
> Hey Everyone!
>
> So I came across a problem that I don't know how to fix... I have searched
> and thought and just not having anything click as to where I am messing
> up...
>
> I have a few functions as follows:
>
> function ddbYear($name, $messag
On Nov 20, 2010, at 5:31 PM, Jason Pruim wrote:
Maybe it's just me, but using the name of a global as a function
parameter just seems like a bad idea. Yes, you can do it. Should you?
I think not. Especially, as, you are passing it a scalar below and
treating it here like the global arra
On Saturday 21 December 2002 03:27, Beauford.2002 wrote:
> Jon,
>
> You may have answered my question, but I'm still confused. I see from your
> example that the actual function comes before the function is called in the
> script, and when I changed mine to that format it worked.
>
> Now the confus
er reading.
- Original Message -
From: "Jon Haworth" <[EMAIL PROTECTED]>
To: "'Beauford.2002'" <[EMAIL PROTECTED]>; "PHP General"
<[EMAIL PROTECTED]>
Sent: Friday, December 20, 2002 11:05 AM
Subject: RE: [PHP] Problem with functions
> Hi,
Hi,
> I keep getting errors in my script that says 'x' function
> is undefined or 'y' function is undefined. I defined it as
> 'function test ($a, $b)' and call it using 'test($a, $b)'
You need to post code :-)
Try this:
";
echo "a is $a";
echo "b is $b";
}
test(1, 2);
?>
C
Please show a bit more of the actual code
- Original Message -
From: "Beauford.2002" <[EMAIL PROTECTED]>
To: "PHP General" <[EMAIL PROTECTED]>
Sent: Friday, December 20, 2002 9:55 AM
Subject: [PHP] Problem with functions
Hi,
I keep getting errors in my script that says 'x' function is
Carlos Alberto Pinto Hurtado
IT ICA
(57 1) 2322181
(57 1) 2324698
Movil.(57 3) 310 6184251
-Mensaje original-
De: Victor Halla [mailto:[EMAIL PROTECTED]]
Enviado el: Wednesday, December 04, 2002 6:16 PM
Para: [EMAIL PROTECTED]
Asunto: [PHP] Problem with functions
Hi,
I have de foll
Thanks !!!
Victor
"Tom Rogers" <[EMAIL PROTECTED]> escreveu na mensagem
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi,
>
> Thursday, December 5, 2002, 9:15:53 AM, you wrote:
> VH> Hi,
>
> VH> I have de following code for example
>
>
> VH>
> VH> $username = "victor";
>
>
> VH> function test()
Hi,
Thursday, December 5, 2002, 9:15:53 AM, you wrote:
VH> Hi,
VH> I have de following code for example
VH> $username = "victor";
VH> function test() {
VH> echo $username;
VH> }
?>>
VH> If I call the funcion test(), echo print nothing what's is going on ?
VH> []´s
VH> [EMAIL PRO
10 matches
Mail list logo