macmonteiro
Programmer
Hi. I've built my own ASP blog and it works fine, thanks.
There's just one thing that I couln't do anyway.
Look at this code:
-------------------------------------
response.write "<table name='posts' width='95%'>"
For i=1 to 18
response.write "<tr>"
response.write "<td style='border-style: dashed; border-width: 1px' align='left' bgcolor='#e6e6e6'>"
response.write "<b>"&LogRec("weekday"&"</b> || "&LogRec("date"
response.write "</td>"
response.write "</tr>"
response.write "<tr>"
response.write "<td style='border-style: nonenone; border-width: 1px' align='left'>"
response.write "</b></center><p>"&LogRec("body"&"<p>"
response.write "<i><b>Posted by <font color='red'>"&LogRec("blogger"&"</font></b></i>"
response.write "<div align='right'><a class='links' href='com_1.asp?id_log="&LogRec("id"&"'>Commente this post</a></div>"
response.write "</font>"
response.write "</td>"
response.write "</tr>"
LogRec.MoveNext
Next
----------------------------------------
It displays something like:
____________________
| Friday, 10/11/02 |
POst #3 here
____________________
| Friday, 10/11/02 |
Post #2 here
____________________
| Friday, 10/11/02 |
Post #1 here
Do you see?
I'd like yto have a selection that fetched all the posts from one day inside the same TD.
May be there's something to change into my database. I dunno.
But it's mostly a logical problem :::::: The worst is that my English is poor and I don't think I have explained it clearly.
I hope someone can help me.
Bye
There's just one thing that I couln't do anyway.
Look at this code:
-------------------------------------
response.write "<table name='posts' width='95%'>"
For i=1 to 18
response.write "<tr>"
response.write "<td style='border-style: dashed; border-width: 1px' align='left' bgcolor='#e6e6e6'>"
response.write "<b>"&LogRec("weekday"&"</b> || "&LogRec("date"
response.write "</td>"
response.write "</tr>"
response.write "<tr>"
response.write "<td style='border-style: nonenone; border-width: 1px' align='left'>"
response.write "</b></center><p>"&LogRec("body"&"<p>"
response.write "<i><b>Posted by <font color='red'>"&LogRec("blogger"&"</font></b></i>"
response.write "<div align='right'><a class='links' href='com_1.asp?id_log="&LogRec("id"&"'>Commente this post</a></div>"
response.write "</font>"
response.write "</td>"
response.write "</tr>"
LogRec.MoveNext
Next
----------------------------------------
It displays something like:
____________________
| Friday, 10/11/02 |
POst #3 here
____________________
| Friday, 10/11/02 |
Post #2 here
____________________
| Friday, 10/11/02 |
Post #1 here
Do you see?
I'd like yto have a selection that fetched all the posts from one day inside the same TD.
May be there's something to change into my database. I dunno.
But it's mostly a logical problem :::::: The worst is that my English is poor and I don't think I have explained it clearly.
I hope someone can help me.
Bye