Author |
Message |
Topic: Boucle for avec 2 conditions |
1695
Replies: 0
Views: 7797
|
Forum: Language: French Posted: Tue Sep 20, 2011 3:07 pm Subject: Boucle for avec 2 conditions |
Hi,
J'ai besoin d'aide pour "convertir" du code PHP dans la syntaxte smarty.
Voici le code PHP :
for($i = 1; $i <= count($calendar); $i++){
echo('&l ... |
Topic: For loop with 2 conditions |
1695
Replies: 0
Views: 3396
|
Forum: General Posted: Tue Sep 20, 2011 3:05 pm Subject: For loop with 2 conditions |
Hi,
I need help converting some PHP code to Smarty syntaxe.
Here is the PHP :
for($i = 1; $i <= count($calendar); $i++){
echo('<tr>');
for( ... |
Topic: strange bug with Javascript |
1695
Replies: 0
Views: 3428
|
Forum: General Posted: Wed Dec 10, 2008 11:49 am Subject: strange bug with Javascript |
Hi !
I use the same javascript on two websites, one in html/php, the other using smarty.
The thing is, the script acts totally differently on the two... On the second, using smarty, the body is ... |
Topic: equivalent of "for" ? |
1695
Replies: 1
Views: 3659
|
Forum: General Posted: Wed Nov 26, 2008 1:09 pm Subject: equivalent of "for" ? |
Hi !
I would like to set up an empty table of 53 rows in a form... I don't see my self typing every row in the .tpl. So i wanted to use a kind of
for($i=1; $i<53; $i++){ } but I don't know how ... |
Topic: From PHP to TPL... |
1695
Replies: 3
Views: 5202
|
Forum: General Posted: Tue Jun 17, 2008 3:56 pm Subject: From PHP to TPL... |
Thanks ! I wasn't so far from that (listing worked, but I couldn't get the $cChar and $Last_Chars working).
Great , thanks again. |
Topic: From PHP to TPL... |
1695
Replies: 3
Views: 5202
|
Forum: General Posted: Tue Jun 17, 2008 9:38 am Subject: From PHP to TPL... |
Hi !
I've got a problem, transfering an old pure-PHP script to my Templates.
The original script was :
<?php
// Music
$Dir_Music = 'uploads/musics/';
$Scan_Music = scandir($Dir_M ... |
|