sparklywater
08-30-2009, 05:54 PM
I have a plugin which has this code:
standard_error(fetch_error("fd_thisacct_is_deleted", $userinfo['username'], $userinfo['userid']));
fd_thisacct_is_deleted is the name of a phrase.
I want to define a variable in this phrase so that when it is called from the standard_error template, it will be able to output the variables. For example I want to define the phrase like this: <phrase 1=" $threadinfo[title]">$vbphrase[fd_thisacct_is_deleted]</phrase>
My question is, where and how can I define this phrase like that so that the variables are output only when the phrase is called?
standard_error(fetch_error("fd_thisacct_is_deleted", $userinfo['username'], $userinfo['userid']));
fd_thisacct_is_deleted is the name of a phrase.
I want to define a variable in this phrase so that when it is called from the standard_error template, it will be able to output the variables. For example I want to define the phrase like this: <phrase 1=" $threadinfo[title]">$vbphrase[fd_thisacct_is_deleted]</phrase>
My question is, where and how can I define this phrase like that so that the variables are output only when the phrase is called?