Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

Search found 10 matches
Smarty Forum Index
Author Message
  Topic: in_array in smarty
deadcat

Replies: 7
Views: 194289

PostForum: General   Posted: Thu Dec 13, 2007 1:53 am   Subject: in_array in smarty
I also dont want to reply after more than one year later, but really want to say thanks!
It helps me alot Very Happy
  Topic: assign_global plugin
deadcat

Replies: 6
Views: 11150

PostForum: Plugins   Posted: Sun Nov 25, 2007 4:05 am   Subject: assign_global plugin
It's great! thx a lot!
  Topic: How do i set up a counter in smarty?
deadcat

Replies: 4
Views: 19861

PostForum: Tips and Tricks   Posted: Fri Jan 14, 2005 2:58 am   Subject: How do i set up a counter in smarty?
me too~~ thx very much!! Very Happy
  Topic: ADVANCED: Recursion with Smarty
deadcat

Replies: 155
Views: 825195

PostForum: Tips and Tricks   Posted: Wed Sep 29, 2004 5:48 pm   Subject: ADVANCED: Recursion with Smarty
very good!~ Razz
  Topic: variable in array problem~`~is it a bug??
deadcat

Replies: 8
Views: 10453

PostForum: General   Posted: Fri Jul 30, 2004 4:07 pm   Subject: variable in array problem~`~is it a bug??
what do you want to do with your array?
maybe you just need {foreach},

else it is:
{assign var=key value="leimg$i"}{$array.$key}

so you just need *one* assign, not many. don't know where you g ...
  Topic: variable in array problem~`~is it a bug??
deadcat

Replies: 8
Views: 10453

PostForum: General   Posted: Fri Jul 30, 2004 3:19 pm   Subject: variable in array problem~`~is it a bug??
what do you want to do with your array?
maybe you just need {foreach},

else it is:
{assign var=key value="leimg$i"}{$array.$key}

so you just need *one* assign, not many. don't know where you g ...
  Topic: variable in array problem~`~is it a bug??
deadcat

Replies: 8
Views: 10453

PostForum: General   Posted: Fri Jul 30, 2004 2:21 pm   Subject: variable in array problem~`~is it a bug??
you need to assign the key to a temporary variable and access $noway.$key then.

thanks for ur answer,do you mean i must write like this

{assign var=leimg value=leimg.$i}

but there i ...
  Topic: variable in array problem~`~is it a bug??
deadcat

Replies: 8
Views: 10453

PostForum: General   Posted: Fri Jul 30, 2004 11:26 am   Subject: variable in array problem~`~is it a bug??
i have such array,

noway = array("leimg1" => "",
"leimg2" => "",
"leimg3" => "",
...
  Topic: Did eval() do enough?
deadcat

Replies: 3
Views: 5452

PostForum: General   Posted: Fri Oct 17, 2003 4:46 pm   Subject: Did eval() do enough?
I ask a foolish question??? Sad
  Topic: Did eval() do enough?
deadcat

Replies: 3
Views: 5452

PostForum: General   Posted: Sun Sep 21, 2003 2:37 am   Subject: Did eval() do enough?
I'm learn PHP just several months,and I never use some class like fast template or smart,when a html has been created,I just use eval() to output it,for separate the logical and html,I think it can ...
 
Page 1 of 1
All times are GMT
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP