|
|
|
глупый вопрос
|
|||
|---|---|---|---|
|
#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 %> ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 08.08.2008, 10:17 |
|
||
|
|

start [/forum/topic.php?desktop=1&fid=17&tid=1352183]: |
0ms |
get settings: |
6ms |
get forum list: |
11ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
72ms |
get topic data: |
9ms |
get forum data: |
2ms |
get page messages: |
36ms |
get tp. blocked users: |
1ms |
| others: | 236ms |
| total: | 379ms |

| 0 / 0 |
