Can somebody help me, i use the script below to view the image that i save in
database. but, the output only show the first row of image. the 2nd row and
others didn't came out.
how i want to pull out all of the image in the database just in one browser?
Thanks for an advance.
<[EMAIL PROTECTED]"VBSCRIPT"%>
<!-- #include file="include/DBConnect_outsider.inc" -->
<%
Dim Con
DBConnect
'strid = request("id")
'sql = "select * from photo_album where id = "&strid&";"
sql = "select * from photo_album;"
Set RS = Server.CreateObject("ADODB.Recordset")
RS.Open SQL, Con
do until rs.EOF
response.write RS("FileName")
Response.Write("<br />")
Response.BinaryWrite RS("filedata")
RS.MoveNext
Loop
'Clean up...
RS.Close
DBClose%>
Jumahijah Mohd Yusoff
NetLRN Sdn Bhd
/---------------------------------------------------------------------------\
Confidential and/ or privileged information may be contained in this
e-mail and any attachments transmitted with it ('Message'). If you are
not the addressee indicated in this Message (or responsible for
delivery of this Message to such person),you are hereby notified that
any dissemination, distribution, printing or copying of this Message or
any part thereof is prohibited. Please delete this Message if received
in error and advise the sender by return e-mail. Opinions, conclusions
and other information in this Message that do not relate to the
official business of this company shall be understood as neither given
nor endorsed by this company.
This mail is certified Virus Free by *ProtectNow! (InternetNow Sdn Bhd)
*Scanner Engine powered by Norman Virus Control
\--------------------------------------------------------------------------/
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/