Forum / Development Forum / Feedback / tiny mistake in document 


+   Reply to Thread

hi and thanks for this great template engine.

i found a simple mistake in Documentation:

http://www.raintpl.com/Documentation/Documentation-for-PHP-developers/Methods/Assign/



$tpl->assign( 'msg', 'Hello World!' );
Template
{$message}


do know what's wrong, dont you?

thanks a lot
correct thanks ;)

$tpl->assign( 'messag', 'Hello World!' );

Template
{$message}


are you drinking? :D

change:
'messag' => 'message'
Oh snap! I'm in vacation right now, so thanks again :)

+   Reply to Thread