For Programmers: Free Programming Magazines  


Home > Archive > PHP Smarty Templates > May 2006 > Newbie problem.









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Newbie problem.
Dominik Składanowski

2006-05-07, 7:24 pm

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=20
don't. What I have made wrong?

Regards.
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com