Log in

View Full Version : Phrase parameters


amykhar
08-01-2005, 05:05 PM
I have a stupid question. I know how to pass parameters to a phrase in a template, but how do I do it in the php code?

Thanks.

Amy

Andreas
08-01-2005, 05:14 PM
construct_phrase(), defined in functions.php

amykhar
08-01-2005, 05:19 PM
Thank you, Kirby. It's darn difficult to search for a function name containing the word phrase :D

Amy

amykhar
08-01-2005, 05:37 PM
Next stupid question. Do compiled phrases work in standard error?

Andreas
08-01-2005, 05:40 PM
???


eval(standard_error(fetch_error('errorphrasevarnam e', 'param1', 'param2', 'param3')));

amykhar
08-01-2005, 05:41 PM
well, that explains it. I'm using the wrong function. Back to play some more.

Thanks, Kirby.

Amy