smarty
Unique HTML id's via a PHP loop
First, I\'m new to form and looking forward to all your insight. My issue: I\'m building a small site and I\'ve run into a problem generating unique HTML ids. I\'m generating the HTML via a loop in[详细]
2023-04-13 01:35 分类:问答How to print a recordset using Smarty?
I need to开发者_Go百科 show the result of a query(mysql), how can I loop the recordset without assign the values to an array?[详细]
2023-04-12 23:11 分类:问答PHP results not displayed in smarty template
I have a variable $my_arr whose var_dump($my_arr) value is array(3) { [0]=> object(stdClass)#6 (9) { [\"prod_index\"]=> string(1) \"1\" [\"prod_code\"]=> string(4) \"amp1\" [\"prod_name\"]=[详细]
2023-04-12 16:00 分类:问答How can I check if a variable exists in Smarty?
I\'m using Smarty template engine. I\'m doing a simple login page. I set a variabile named error wit开发者_JAVA技巧h a message if there are some problems, but IF NOT I get:[详细]
2023-04-12 13:07 分类:问答In Smarty display method not working
Display method not working only print \"kamal\" not print \"maisuriya\" Please he开发者_StackOverflow社区lp me?[详细]
2023-04-11 19:03 分类:问答Ordering $file by name - Smart templates
I wonder if anyone can help me. I\'m using PodHawk - a basic podcast cms, I would like the admin area file select to show my files in order - by name.[详细]
2023-04-11 17:28 分类:问答Smarty and gettext
What\'s the easiest way to use gettext combined with smarty, is there some simalar function as there is available in php: _(\'hello world\');开发者_StackOverflow ?[详细]
2023-04-11 09:18 分类:问答passing value of text box to href in smarty
A want to pass value of text box tohref=\"somepage.php start=textbox1.text end = textbox1.text\" in smarty with开发者_Python百科out use of java script.[详细]
2023-04-11 04:12 分类:问答Perform the MD5 function in Smarty Template Engine
In a Smarty templated theme I would like to implement开发者_高级运维 MD5 within the template to get a unique hash based on a string and a salt. (Do not have access to the PHP calling the template, or[详细]
2023-04-11 03:55 分类:问答Assign variable in smarty?
I have assigned two array to smarty : profiles and selected_id . profiles array contains the array of all profiles and the selected_id array c开发者_Go百科ontains ids of the profiles to be displayed .[详细]
2023-04-09 13:50 分类:问答