|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
fariss49 Smarty n00b
Joined: 09 May 2014 Posts: 4
|
Posted: Fri May 09, 2014 1:54 pm Post subject: affichage des requete liées mysql |
|
|
Bonjour
je suis débutant en smarty et en php => PDO, j'ai 2 tables mysql liées :
table commandes avec (id_cmd,ref_cmd)
table produits avec (id_produit,nom,id_cmd)
avec une liaison id_cmd donc une commande va contenir 1 ou plusieurs produits.
je veux afficher en smarty comme ça :
cmd1 :
produit1
produit5
cmd2 :
produit3
cmd3 :
produit18
Merci de m'aider |
|
Back to top |
|
|
|
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
|