|
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:59 pm Post subject: mysql query display |
|
|
Hello
I am a beginner in smarty and php=> PDO, I have 2 mysql tables related:
with table cmd (id_cmd, ref_cmd)
table with products (id_product, name, id_cmd)
with a link so id_cmd an order will contain one or more products.
I want to display in smarty like this:
cmd1:
product1
product5
cmd2:
product3
CMD3:
product18
Thank you for helping me |
|
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
|