By: EmilCF
Date: 2008-09-22
Time: 05:24
|
Can I use "." in my array key?
In my current project, I found some data array keys have dot character. Like :
PHP :
$data['page.title'] = 'YYY';
$data['page.body'] = 'XXXXXXXX';
$clsTBS->MergeFields('data', $data);
Of course, if I use "." in HTML side, it doesn't work. like :
<div>[data.page.title]</div>
So, did anyone know how to merge?
|