Quantcast
Channel: VBForums - ASP, VB Script
Viewing all articles
Browse latest Browse all 686

please help!

$
0
0
i want to edit only my post. please help me guys!

here is my code:
Code:

while not rs.EOF
if Session("username") = "erick" then
%>
Posted By: <%=rs("uname")%><br />
Title: <%=rs("title")%><a href='post.asp?msgid=<%=rs("msgid")%>'>Edit</a>
<br />
Message: <%=rs("message")%><br />
Date Posted: <%=rs("PostDate")%>
<br /><br /><%
else
%>
Posted By: <%=rs("uname")%><br />
Title: <%=rs("title")%>
<br />
Message: <%=rs("message")%><br />
Date Posted: <%=rs("PostDate")%>
<br /><br /><%
end if
rs.MoveNext
wend

Attached Images
 

Viewing all articles
Browse latest Browse all 686

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>