Skip to content

Instantly share code, notes, and snippets.

View victorknust's full-sized avatar
🏠
Working from home

Victor knust victorknust

🏠
Working from home
View GitHub Profile
@Swader
Swader / cipp_11.php
Last active December 12, 2015 03:08
CI++ article gist 11
<?php
$oParser = new Parser();
// Here we give values to the tags the parser can expect in the content.
$aTagValues = array(
'name' => 'Bruno',
'title' => 'M.A.'
);
$sContent = "Dear {{title}} {{name}}, we are spamming you to sell you canned beans.";