
Новые сообщения [новые:0]
Дайджест
Горячие темы
Избранное [новые:0]
Форумы
Пользователи
Статистика
Статистика нагрузки
Мод. лог
Поиск
|
|
08.08.2008, 10:17
|
|||
|---|---|---|---|
|
|||
глупый вопрос |
|||
|
#18+
таблица естественно множится, а хочу шапку таблицы и данные из базы в строчках, как?) <% Set Conn = Server.CreateObject("ADODB.Connection") Conn.Open Session("DBConnectionString") Set RS = Conn.Execute("select * from tel_book") %> <% Do While Not RS.EOF %> <template name="headertemplate"> <table width="100%" style="font: 8pt verdana"> <tr style="background-color:DFA894"> <th> Ф.И.О </th> <th> Должность </th> <th> Телефон </th> </tr> </template> <tr> <th> <%=RS("user_id")%> </th> <th> <%=RS("dolg")%> </th> <th> <%=RS("phone")%> </th> </tr> <br /> </br> <% RS.MoveNext Loop RS.Close Conn.Close %> ... |
|||
|
:
Нравится:
Не нравится:
|
|||
|
|
|

start [/forum/topic.php?fid=17&mobile=1&tid=1352183]: |
0ms |
get settings: |
9ms |
get forum list: |
22ms |
check forum access: |
5ms |
check topic access: |
5ms |
track hit: |
90ms |
get topic data: |
9ms |
get forum data: |
2ms |
get page messages: |
37ms |
get tp. blocked users: |
1ms |
| others: | 245ms |
| total: | 425ms |

| 0 / 0 |
