dB query to display URL? (Full Version)

All Forums >> [Web Development] >> ASP and Database



Message


WRXSTi -> dB query to display URL? (3/1/2002 21:01:02)

I'm writing my own code for dB querying. I will query Acess Xp and display it using the following output in FP 2002.
 <div align="center"> 
<center>
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="55%" id="AutoNumber5">
<tr>
<td width="100%">
<p align="center"><a target="_blank" href="<%=Server.HTMLEncode(rsMbrs.Fields("image01").Value)%>">Image 1 </a></td>
</tr>
</table>
</center>
</div>


The above produces the following error:
 
Microsoft VBScript runtime error '800a01a8'

Object required: 'Server'

/TestItemDetail.asp, line 237


Line 237 is
<div align="center">


How do I get the URL from Acces to be displayed correctly in FP ?

Me




William Lee -> RE: dB query to display URL? (3/2/2002 0:46:31)



Try <%=Server.URLEncode(rsMbrs("image01"))%>



Edited by - William Lee on 03/02/2002 17:45:12




William Lee -> RE: dB query to display URL? (3/2/2002 2:26:25)

Why does this topic appears with horizontal scrollbar on my browser ?
This is very strange, it doesn't appear in other topics, only this.




William Lee




eYeLinkZ -> RE: dB query to display URL? (3/2/2002 16:58:57)

yes william, same here....
spookyiieeee know why?

<%=Mazhar()%>




Spooky -> RE: dB query to display URL? (3/2/2002 17:42:25)

Long stuff in a [code] or
quote:

doesnt wrap.

Sometimes its a good thing, sometimes not :)

§þððk¥
Database / DRW Q & A
VP-ASP Shopping cart
Spooky Login




William Lee -> RE: dB query to display URL? (3/2/2002 17:44:31)

quote:

Long stuff in a [code] or
quote:

doesnt wrap.

Sometimes its a good thing, sometimes not :)

§þððk¥
Database / DRW Q & A
VP-ASP Shopping cart
Spooky Login




Is it me? ok, I delete the quoted stuffs. Hang on..


William Lee




Spooky -> RE: dB query to display URL? (3/2/2002 22:38:36)

In this case, its [code]

But, its useful to be able to see it without word wrap :)

§þððk¥
Database / DRW Q & A
VP-ASP Shopping cart
Spooky Login




William Lee -> RE: dB query to display URL? (3/4/2002 2:00:47)

quote:

In this case, its [code]

But, its useful to be able to see it without word wrap :)

§þððk¥
Database / DRW Q & A
VP-ASP Shopping cart
Spooky Login




Yes, I agree with you in this instnace no wrapping is more code-readable.

William Lee




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.0625