[pmwiki-devel] Creating a page text variable in a recipe

Hans design5 at softflow.co.uk
Sun Sep 27 15:02:22 CDT 2009


Sunday, September 27, 2009, 8:44:49 PM, Peter wrote:

> Note that as DaveG mentioned earlier, $FmtPV must result in correct
> PHP syntax.  Thus the quotes are necesssary, not optional:

>>   $FmtPV['$SongTitle'] = "'".$songtitle."'";

> (That is double-quote single-quote double-quote both prepended and
> appended to your string.)

no need for "'".
this should be adequate:

$FmtPV['$SongTitle'] = "'$songtitle'";


Hans




More information about the pmwiki-devel mailing list