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 11 matches
Smarty Forum Index
Author Message
  Topic: Break section
Tony512

Replies: 2
Views: 5785

PostForum: General   Posted: Thu Jun 29, 2006 2:12 pm   Subject: Break section
thx
  Topic: Break section
Tony512

Replies: 2
Views: 5785

PostForum: General   Posted: Tue Jun 27, 2006 8:51 pm   Subject: Break section
how can i stop a section ? can i? maybe like php ('break;') ?

thx!
  Topic: skip the assign of variables
Tony512

Replies: 17
Views: 23960

PostForum: General   Posted: Sat Jun 24, 2006 11:51 pm   Subject: skip the assign of variables
yes..now i'm using your script..

i want to discover how much power is smarty Very Happy
  Topic: skip the assign of variables
Tony512

Replies: 17
Views: 23960

PostForum: General   Posted: Sat Jun 24, 2006 7:20 pm   Subject: skip the assign of variables


Before doing some intermediate PHP technic like Smarty, how about perfectioning the basics of PHP, like learning all the possible control structures? As shown in
foreach(array_expression as ...
  Topic: skip the assign of variables
Tony512

Replies: 17
Views: 23960

PostForum: General   Posted: Sat Jun 24, 2006 4:49 pm   Subject: skip the assign of variables
and...what rapresent $k,$v?

and again, i don't understand it anymore^^Very Happy
for exemple:

$age='age:';
$a=10;
$b=30;
$c=$a+$b;


and i want to pass to smarty only $age and $c if i do "foreach ...
  Topic: skip the assign of variables
Tony512

Replies: 17
Views: 23960

PostForum: General   Posted: Sat Jun 24, 2006 2:26 pm   Subject: skip the assign of variables
because i haven't understood it completely Very Happy
and i what to know if it's possible to skip the assign step Cool

about your code..
foreach($GLOBALS as $k => $v) {
what is $k and $v ? Question
and ...
  Topic: skip the assign of variables
Tony512

Replies: 17
Views: 23960

PostForum: General   Posted: Sat Jun 24, 2006 1:26 pm   Subject: skip the assign of variables
yes...i have thought at something in php to assign all variables ..

but, that i want to know is if there is someway to pass the variables at smarty without writing anything...

like when i do the ...
  Topic: skip the assign of variables
Tony512

Replies: 17
Views: 23960

PostForum: General   Posted: Sat Jun 24, 2006 10:18 am   Subject: skip the assign of variables
ok (sorry i'm italian Very Happy )..
so..i have a php file where i set some variables and load the template:

//set variables
$a=10;
$b=$a-3;
$c=($b+$a)*2;

//load template
require('./includes/setup_ ...
  Topic: skip the assign of variables
Tony512

Replies: 17
Views: 23960

PostForum: General   Posted: Sat Jun 24, 2006 8:25 am   Subject: skip the assign of variables
hi all!
first..i'm a noob with smarty...so..sorry for my ignorance Very Happy Very Happy Very Happy
(and for my english too Razz )

is possible to skip the assing of the variables?

when i do the display of the templ ...
  Topic: Saltare l'assign delle variabili
Tony512

Replies: 1
Views: 22881

PostForum: Language: Italian   Posted: Sat Jun 24, 2006 8:12 am   Subject: Saltare l'assign delle variabili
č possibile saltare il passaggio di assign delle variabili?
cioč che quando faccio il display del template se le vada a cercare da solo nel file php...

Very Happy

Ciaoz!
  Topic: Italiani dove siete?
Tony512

Replies: 29
Views: 113125

PostForum: Language: Italian   Posted: Sat Jun 24, 2006 8:09 am   Subject: Italiani dove siete?
Ehi! ci sono anche io !!!
 
Page 1 of 1
All times are GMT
Jump to:  


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