Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.
Edytowanie jednej wartości w innym pliku

 
Post new topic   Reply to topic    Smarty Forum Index -> Language: Polish
View previous topic :: View next topic  
Author Message
deLL
Smarty n00b


Joined: 30 Jun 2010
Posts: 1

PostPosted: Wed Jun 30, 2010 2:48 pm    Post subject: Edytowanie jednej wartości w innym pliku Reply with quote

W pliku index.php mam taką oto linijkę:

Code:
$index->assign("SRODEK", $srodek);


Oraz potem taką:
Code:
$index->display('index.tpl');


I moje pytanie brzmi. Czy da się zrobić tak, aby.. Hmm... Stworzyć nowy plik (news.php) i edytować w nim tylko tą wartość (SRODEK)?
Back to top
View user's profile Send private message
fornve
Smarty Rookie


Joined: 25 Apr 2008
Posts: 29
Location: Sheffield, UK

PostPosted: Sat Sep 04, 2010 11:14 pm    Post subject: Reply with quote

Na to pytanie chyba nie bedzie odpowiedzi, chyba ze 'Co ma piernik do wiatraka'.

Przykro mi ale nie bardzo wiadomo o co chodzi.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Smarty Forum Index -> Language: Polish All times are GMT
Page 1 of 1

 
Jump to:  
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
Protected by Anti-Spam ACP