|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
halloweb Smarty Regular
Joined: 23 Nov 2004 Posts: 35
|
Posted: Sun Nov 28, 2004 5:00 pm Post subject: Ausgabe eines befehls im Template |
|
|
In der index.php habe ich folgenden Code stehen ...
Code: | echo "Der Name ".$HTTP_POST_FILES['datei']['name'].; |
Dieser Befehl wird auf der index.php ausgegeben.
Ich möchte diesen Befehl aber in der index.tpl ausgeben mit ...
Also habe ich in die index.php folgen Code mit eingebunden ...
Code: | $dateiname=$HTTP_POST_FILES['datei']['name']; |
Aber der $dateiname wir nicht ausgegeben ?
Last edited by halloweb on Wed Jul 21, 2010 12:00 am; edited 1 time in total |
|
Back to top |
|
T. Smarty Regular
Joined: 22 Aug 2004 Posts: 69 Location: AT
|
Posted: Sun Nov 28, 2004 6:13 pm Post subject: |
|
|
$smarty->assign("dateiname",$dateiname);
lest heut gar keiner mehr manuals? _________________ Oppossom - Heavy rock from austria |
|
Back to top |
|
halloweb Smarty Regular
Joined: 23 Nov 2004 Posts: 35
|
Posted: Sun Nov 28, 2004 6:22 pm Post subject: |
|
|
Guten Abend Thomas,
Quote: | lest heut gar keiner mehr manuals? |
Ich lese die Manuals, aber werde nicht ganz schlau daraus !
Code: | $smarty->assign("dateiname",$dateiname); |
Es funktioniert
Danke, dass du vorbeigeschaut hast und mir bei der L?sungen geholfen hast.
________
volcano digital vaporizer
Last edited by halloweb on Wed Feb 02, 2011 7:06 pm; edited 2 times in total |
|
Back to top |
|
T. Smarty Regular
Joined: 22 Aug 2004 Posts: 69 Location: AT
|
Posted: Mon Nov 29, 2004 12:30 pm Post subject: |
|
|
sorry für meine direktheit, bin nur in letzter zeit auf zuviele leute getroffen, die immer fragen bevor sie selber was nachlesen - und bei einer derart einfachen Frage...
mfg Thomas _________________ Oppossom - Heavy rock from austria |
|
Back to top |
|
halloweb Smarty Regular
Joined: 23 Nov 2004 Posts: 35
|
Posted: Mon Nov 29, 2004 1:11 pm Post subject: |
|
|
Code: | sorry f?r meine direktheit, |
F?r konstruktive Kritik bin ich doch immer offen
Code: | und bei einer derart einfachen Frage... |
Ich m?chte deine Hilfsbereitschaft nicht ausn?tzen !
Bevor ich poste versuche ich immer selbst eine L?sung zu finden !
Aber gerade am Anfang ist es nicht einfach, selbst die richtig L?sung zu finden.
Deshalb nochmal ein Dankesch?n
________
List of Ford platforms |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|