|
|
|
#1 |
|
Messages: n/a
Hébergeur: |
Hello list.
I'm rather newbie in Smarty and I noticed strange problem. I've got this PHP script: http://www.ch.pw.edu.pl/~dominik/dodajOsoby.php.txt and Smarty template for this: http://www.ch.pw.edu.pl/~dominik/dodajOsoby.tpl.txt PHP works - database is filled with data becomes with PHP script. But Smarty visualization is broken. As you can see, PHP script display first form, after that second form and after second form should be displayed data added to database. As I wrote above, PHP works (script adds data to database), but Smarty don't display last part: data added to database. I have wrote few scripts in this way and it works, but this one don't. What I have made wrong? Regards. |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
Hi Dominik,
is there any way to see those scripts in action? I ask because simply removing the .txt at the end of the URLs did not work. BTW, nice to see someone else from Poland actually using Smarty :-) -----Ursprüngliche Nachricht----- Von: Dominik Sk³adanowski [mailto:dskladanowski@gmail.com] Gesendet: Sunday, 07 May 2006 20:53 An: smarty-general@lists.php.net Betreff: [SMARTY] Newbie problem. Hello list. I'm rather newbie in Smarty and I noticed strange problem. I've got this PHP script: http://www.ch.pw.edu.pl/~dominik/dodajOsoby.php.txt and Smarty template for this: http://www.ch.pw.edu.pl/~dominik/dodajOsoby.tpl.txt PHP works - database is filled with data becomes with PHP script. But Smarty visualization is broken. As you can see, PHP script display first form, after that second form and after second form should be displayed data added to database. As I wrote above, PHP works (script adds data to database), but Smarty don't display last part: data added to database. I have wrote few scripts in this way and it works, but this one don't. What I have made wrong? Regards. -- Smarty General Mailing List (http://smarty.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php |
|
![]() |
| Outils de la discussion | |
|
|