Hello all,
Assume I have array that looks like :
Array(
'type'->'Fiction',
'notes'->'Fiction books from a-z',
'list'-> Array(
'list'-> [0]->array(
'title'->'xzy',
'id'->'1')
[1]->array(
'title'->'abcd',
'id'->'2')
)
)
Now, I want to display it using smarty os it looks like
---------------------------------------------------
Books Result:
----------------------------------------------------
1. Type: Fiction
Notes: bla bla bla bla
----------------------
ID | Title
----------------------
1 | xzy
2 | abcd
----------------------
2. Type: Non-Fiction
Notes: bla bla bla bla
----------------------
ID | Title
----------------------
3 | ABCDEFEGH
4 | LALALALLA
----------------------
Etc ...
can I do like that with smarty ? and how to do that ?
I knew to use array, but for this array, I dont know how to do that
thx
regards
adwin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php