Re: [PHP] variable in function parameter

2003-07-29 Thread 386-DX
n message news:[EMAIL PROTECTED] > * Thus wrote CPT John W. Holmes ([EMAIL PROTECTED]): > > > * Thus wrote 386-DX ([EMAIL PROTECTED]): > > > > Hello. Let's say I have something like this: > > > > > > > > function aa($test) { > > > > $a =

[PHP] variable in function parameter

2003-07-28 Thread 386-DX
Hello. Let's say I have something like this: function aa($test) { $a = 8; echo $test; } $a = 2; aa("a is ". ($a>5?"greater":"equal to or less"). " than 5".); I want this to output "a is greater than 5".. how can i modify the code so that the function parameter is evaluated inside the fu