[Phplib-users] templates and tables
Brought to you by:
nhruby,
richardarcher
|
From: Guenther T. <th...@eq...> - 2001-08-14 13:44:49
|
Hi,
as promised here is another newbie question... ;-)
I hope my English is good enough to explain the problem.
I'm looking for an elegant way to get data from a database into a
table.
In this special case, I've got a lot of links which are ordered by a
certain subject. Now I want this links to be put in a table with three
coloumns which is defined as a template.
The template looks something like this:
<table>
{linktype1}
</table>
<table>
{linktype2}
</table>
It's no problem to replace {linktype1} by a couple of tablerows
existing of three coloums whith the links in it, although this doesn't
seem very elegant to me, especially if I (better: the designer) wants a
dot (gif-file) in front of every link. This dot is changing with the
template.
Anybody any hints?
Thanks for your patience.
Guenther
|