PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Programmation & Conception > php.smarty.general > Newbie problem.
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
Newbie problem.

Réponse
 
LinkBack Outils de la discussion
Vieux 07/05/2006, 19h52   #1
Dominik Sk³adanowski
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut 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.
  Réponse avec citation
Vieux 08/05/2006, 20h21   #2
Wojciech Duda
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut AW: [SMARTY] Newbie problem.

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
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 12h16.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,09088 seconds with 10 queries