Author |
Topic |
KidSima
Starting Member
28 Posts |
Posted - 29 December 2002 : 00:27:02
|
ah remote linking and brinkster...wonder why inserting the pic does not show up, is this forbiddean? will check back after i look at the code...
|
|
|
KidSima
Starting Member
28 Posts |
Posted - 29 December 2002 : 00:29:25
|
well if you right click on where the image should be 1) click on properties and get the 2) url you will see what i mean...if you don't want to register...
will change the code in a few minutes.. |
|
|
KidSima
Starting Member
28 Posts |
Posted - 29 December 2002 : 01:21:33
|
Changing the <% is even worse so i changed it to how i orginally had it.
%> <!--#INCLUDE FILE="inc_avatar.asp" --> %>
currently using the way that was suggested looks like this...
end if ' strPicture %> <!--#INCLUDE FILE="inc_avatar.asp" --> <% if (strBio + strHobbies + strLNews + strQuote) > 0 then if strMode <> "Register" then strMyHobbies = rs("M_HOBBIES") strMyLNews = rs("M_LNEWS") strMyQuote = rs("M_QUOTE") strMyBio = rs("M_BIO") end if Response.Write " <tr>" & vbNewLine & _ " <td align=""center"" bgcolor=""" & strCategoryCellColor & """ colspan=""2""><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strCategoryFontColor & """>More About Me</font></b></td>" & vbNewLine & _ " </tr>" & vbNewLine if strHobbies = "1" then Response.Write "
Produces this error
Microsoft VBScript compilation error '800a03ee'
Expected ')'
/aspprogramer/inc_profile.asp, line 274
Response.Write " <input name=""Account"" value=""" & ChkString(rs("M_USERNAME"), "),"display") & """>" & vbNewLine ----------------------------------------------------------------------------------------------------------^
|
|
|
KidSima
Starting Member
28 Posts |
Posted - 29 December 2002 : 01:23:42
|
that error happens when i click profile |
|
|
KidSima
Starting Member
28 Posts |
|
DoraMoon
Average Member
Taiwan
661 Posts |
Posted - 29 December 2002 : 03:16:59
|
hi~ KidSima, the correct %> to <% is necessary, do not change it back.. (everywhere you want to write a ASP code, you'll need to enclose the code section with <% ..... %> )
and about the new error... Microsoft VBScript compilation error '800a03ee'
Expected ')'
/aspprogramer/inc_profile.asp, line 274
Response.Write " <input name=""Account"" value=""" & ChkString(rs("M_USERNAME"), "),"display") & """>" & vbNewLine
i think you put the wrong modified code by yourself here. just change that line to Response.Write " <input name=""Account"" value=""" & ChkString(rs("M_USERNAME"),"display") & """>" & vbNewLine
|
|
|
KidSima
Starting Member
28 Posts |
Posted - 30 December 2002 : 04:48:12
|
THANK YOU DORAMOON! it works...thanks again |
|
|
Topic |
|