Hello PHP coders, I'm not that great at PHP - just mangle it really. Could you tell me how to get this to work? This is my main statement echo GetSR($SILO='Static Text'); PHP: GetSR is my custom funtion which returns a string. But I want to replace "Static Text" with text that is available in a variable. So let's say that variable is $NewSILO, how can I get it into that statement so that it can be assigned to $SILO and echoed? The variable may have a different value everytime it's run and I'd really like to pass it to GetSR. Any help would be much appreciated. FretLessBass
Can you just do this: $SILO = $newvariable; echo GetSR($SILO); PHP: Or am I misreading what you mean?