Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

problem nowicjusz

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Language: Polish
View previous topic :: View next topic  
Author Message
znyk
Smarty n00b


Joined: 22 Nov 2009
Posts: 4

PostPosted: Sun Nov 22, 2009 1:52 pm    Post subject: problem nowicjusz Reply with quote

W pliku foot.tpl mam:
Code:
<table>
<tr><td><b><i><sub>&copy; {$autor}</sub></i></b></td></tr>
</table>


</body>
</html>


a w pliku foot.php:
Code:
<?php

smarty->assign("autor", "Marcin Razynski");


?>


i pokazuje mi błąd:
Parse error: parse error, unexpected T_OBJECT_OPERATOR in C:\Program Files\xampp\htdocs\smarty\foot.php on line 3

co jest źle ? Shocked
Back to top
View user's profile Send private message Send e-mail
fornve
Smarty Rookie


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

PostPosted: Fri Jan 08, 2010 12:36 am    Post subject: Reply with quote

Code:
<?php

$smarty->assign("autor", "Marcin Razynski");


?>


Zapomniales $

Uprzedzajac kolejny blad, czy $smarty jest zadeklarowane wczesniej?


Pozdrawiam,
Marek
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    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