Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.

Search found 4 matches
Smarty Forum Index
Author Message
  Topic: Array Problem
sadistic

Replies: 5
Views: 10905

PostForum: Language: German   Posted: Thu Sep 23, 2004 10:05 am   Subject: Array Problem

{if $resume[result].group eq ""}
Alle
{elseif $resume[result].group == "0"}
Keine Gruppe
{else}
{foreach name=gr key ...
  Topic: Array Problem
sadistic

Replies: 5
Views: 10905

PostForum: Language: German   Posted: Thu Sep 23, 2004 8:49 am   Subject: Array Problem
Hier mal der Code:

php-file

<?
include_once('../includes/ob_start.php');
require_once('../config/config.inc.php');
require_once('../classes/class_newsletter.php');
new newsletter(array('s ...
  Topic: Array Problem
sadistic

Replies: 5
Views: 10905

PostForum: Language: German   Posted: Thu Sep 23, 2004 8:33 am   Subject: Array Problem
ich hab aber nicht ein array sondern 2

und das ergebnis des ersten arrays ($resume[result].group)
ist der schlüssel für das zweite array ($groups[])

und da steht leider kein beispiel auf der s ...
  Topic: Array Problem
sadistic

Replies: 5
Views: 10905

PostForum: Language: German   Posted: Wed Sep 22, 2004 4:14 pm   Subject: Array Problem
Wie spreche ich arrays in smarty an wenn der array key dynamisch sein soll?

$groups = array(1 => Mitglieder,
2 => Privat,
3 => usw..);
...
 
Page 1 of 1
All times are GMT
Jump to:  


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