|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
Author |
Message |
Topic: Templateing from database |
har8
Replies: 6
Views: 21516
|
Forum: General Posted: Thu Jun 12, 2008 5:24 am Subject: Templateing from database |
Ok , thanks , but how to template the code from DB ?
for ex.
CREATE TABLE IF NOT EXISTS `themes` (
`theme_id` int(11) NOT NU ... |
Topic: Templateing from database |
har8
Replies: 6
Views: 21516
|
Forum: General Posted: Wed Jun 11, 2008 10:50 am Subject: Templateing from database |
/////////////////////////// index.php /////////////////////////////
$smarty = new Smarty;
$smarty->compile_check = true;
$smarty->debugging = false;
$smarty->compile_dir = $dirn ... |
Topic: Templateing from database |
har8
Replies: 6
Views: 21516
|
Forum: General Posted: Fri Jun 06, 2008 6:45 am Subject: Templateing from database |
Thank a lot , but there are some errors like this.
Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'db_get_timestamp' was given i ... |
Topic: Templateing from database |
har8
Replies: 6
Views: 21516
|
Forum: General Posted: Fri Jun 06, 2008 4:30 am Subject: Templateing from database |
Somebody please help me. I want to make smarty template from database and not from file (ex. $smarty->display ('index.tpl')). How can i do it? |
|
Page 1 of 1 |
All times are GMT |
Powered by phpBB © 2001, 2005 phpBB Group
|