Login | |
|
 |
Re: Converting Text withing a DB field to a Hyperlink - 5/23/2001 6:54:26 AM
|
|
 |
|
| |
rhl150
Posts: 29
Score: 0
Joined: 5/23/2001
From: New Zealand
Status: offline
|
Not tested, but something like this: dim, i,j, cField, cLink cField = rs("yourfield") i = InStr( cField , "http://"; ) if i <> 0 then j = InStr(i, cField, " ") cLink = substr( cField, i, j) response.write "<a href=http://"; & cLink &_ ">" & cLink & "</a> end if
|
|
| |
|
|
|
|
|