02-07-2005, 16:14
|
|
|
|
חבר מתאריך: 18.12.03
הודעות: 4,187
|
|
בעיית הצגת קוד מקור של דף HTML שנוצר ב- ASP
כאשר מסתכלים בקוד המקור של עמוד שנוצר ע"י דף ASP כל הקוד שנוצר ב- ASP מופיע בשורה אחת. זה הקוד ASP:
קוד:
Do Until oWoWRS.EOF
Response.write "<tr>"
Response.write "<td align='Center'>"
Response.write oWoWRS.Fields("nName")
Response.write "</td>"
Response.write "<td>"
Response.write oWoWRS.Fields("fName")
Response.write "</td>"
Response.write "<td align='Center'>"
Response.write "<a href='mailto:"
Response.write oWoWRS.Fields("eMail")
Response.write "'>"
Response.write oWoWRS.Fields("eMail")
Response.write "</a>"
Response.write "</td>"
Response.write "<td align='Center'>"
Response.write oWoWRS.Fields("Race")
Response.write "</td>"
Response.write "<td align='Center'>"
Response.write oWoWRS.Fields("Class")
Response.write "</td>"
Response.write "<td align='Center'>"
response.Write "<a href='http://www.icq.com/whitepages/cmd.php?uin="
Response.write oWoWRS.Fields("ICQ")
Response.write "&action=message'>"
Response.Write oWoWRS.Fields("ICQ")
Response.Write " "
Response.Write "<img align='center' src='http://status.icq.com/online.gif?icq="
Response.Write oWoWRS.Fields("ICQ")
Response.Write "&img=5' border='0' alt='שלח הודעה למשתמש ב- ICQ' />"
Response.Write "</a>"
Response.write "</td>"
Response.write "<td align='Center'>"
Response.write oWoWRS.Fields("Server")
Response.write "</td>"
Response.write "</tr>"
oWoWRS.MoveNext
Loop
וככה מופיע בקוד מקור של הדף הטבלה:
קוד:
<tr><td align='Center'>sas</td><td>dddd</td><td align='Center'><a href='mailto:sss@ss.sa'>sss@ss.sa</a></td><td align='Center'>Undead</td><td align='Center'>Priest</td><td align='Center'><a href='http://www.icq.com/whitepages/cmd.php?uin=4444444&action=message'>4444444 <img align='center' src='http://status.icq.com/online.gif?icq=4444444&img=5' border='0' alt='שלח הודעה למשתמש ב- ICQ' /></a></td><td align='Center'>Doomhammer</td></tr><tr><td align='Center'>Distortion</td><td>שאול קרדי</td><td align='Center'><a href='mailto:sharemania@gmail.com'>sharemania@gmail.com</a></td><td align='Center'>Nigth Elf</td><td align='Center'>Druid</td><td align='Center'><a href='http://www.icq.com/whitepages/cmd.php?uin=167148336&action=message'>167148336 <img align='center' src='http://status.icq.com/online.gif?icq=167148336&img=5' border='0' alt='שלח הודעה למשתמש ב- ICQ' /></a></td><td align='Center'>Doomhammer</td></tr></table>
אני רוצה שהקוד יופיע מסודר כמו זה:
קוד:
<tr><td align='Center'>sas</td><td>dddd</td><td align='Center'><a href='mailto:sss@ss.sa'>sss@ss.sa</a></td><td align='Center'>Undead</td><td align='Center'>Priest</td><td align='Center'><a href='http://www.icq.com/whitepages/cmd.php?uin=4444444&action=message'>4444444 <img align='center' src='http://status.icq.com/online.gif?icq=4444444&img=5' border='0' alt='שלח הודעה למשתמש ב- ICQ' /></a></td><td align='Center'>Doomhammer</td></tr>
<tr><td align='Center'>Distortion</td><td>גדגדי</td><td align='Center'><a href='mailto:sharemania@gmail.com'>sharemania@gmail.com</a></td><td align='Center'>Nigth Elf</td><td align='Center'>Druid</td><td align='Center'><a href='http://www.icq.com/whitepages/cmd.php?uin=167148336&action=message'>167148336 <img align='center' src='http://status.icq.com/online.gif?icq=167148336&img=5' border='0' alt='שלח הודעה למשתמש ב- ICQ' /></a></td><td align='Center'>Doomhammer</td></tr>
</table>
מה צריך להוסיף? תודה
_____________________________________
Pentax K100D + Pentax SMCP-DA 18-55mm f/3.5-5.6 AL + SMC Pentax-M Macro 1:4 50mm + SMC Pentax 1:2.8/105mm + SMC Pentax-M 1:2.8 35mm + SMC Pentax 1:1.4/50mm
|