Not sure whats going to be the best way to explain all this too you BUT...
http://pastebin.com/m619cc8e0
^^ The code found in that "paste" is my current webpage which give a page look like this;

I'm going to be having hundreds/thousands of "folders" showing up in the image above.
Everything works fine at the moment...i can scroll between pages etc to look through all "uploads" BUT i need some way of sorting these out.
I have found a script online that basically creates a link on the field name which then sorts the column ascending/descending.
I really could do with this intergrating into my site...that OR having someone of making each upload stay at the top rather than putting them in some random order!!
Here is this script i have found;
http://pastebin.com/m6ff694b4
or direct link = http://www.asp101.com/samples/viewasp.asp?file=db_sort.asp
gives an outcome like this = http://www.asp101.com/samples/db_sort.asp
Appologies if this is in the wrong place
I look forward to your assistance
Well,
i've just bashed a JS in there for the moment which works wonders BUT i still have the problem of...
If i upload a new item it will not automatically place it at the top of the list
Thanks
New problem...
QUOTE
<b>Select email to send notification to:</b> <select name="mailto">
<%
emails = objRS("Email").Value.split("|");
for (i = 0; i<10; i++)
{
if (i< emails.length)
{
%>
<option><%=emails[i] %></option>
<%
}
}
%>
<%
emails = objRS("Email").Value.split("|");
for (i = 0; i<10; i++)
{
if (i< emails.length)
{
%>
<option><%=emails[i] %></option>
<%
}
}
%>
This bit of code isn't pulling the email address through from a DB - is this code at fault or does this seem fine??
Cheers!
Right i've sorted that one now!!
lol, you should all carry on ignoring me and i'll fix all my own problems
QUOTE
<% emailbody = "A new set of documents are ready for download from 'contract documents' on the .\n"
+"\n"
+"Foldername: " +objRS("title") + "\n"
+"Notes: " +objRS("description") + "\n"
+"\n"
+"You have 30 days to print your documents after which time they will auto delete.\n"
+"\n"
+"Your documents can be accessed by logging on to \n"
+"\n"
+"Sign in using your username and password and click on the link for contract documents.\n"
+"Please don't hesitate to contact us if you require any assistance.\n"
+"\n"
+"Sales administration\n"
+"Admin telephone : \n"
+"E.mail : \n"
+"Internet : \n"
%>
+"\n"
+"Foldername: " +objRS("title") + "\n"
+"Notes: " +objRS("description") + "\n"
+"\n"
+"You have 30 days to print your documents after which time they will auto delete.\n"
+"\n"
+"Your documents can be accessed by logging on to \n"
+"\n"
+"Sign in using your username and password and click on the link for contract documents.\n"
+"Please don't hesitate to contact us if you require any assistance.\n"
+"\n"
+"Sales administration\n"
+"Admin telephone : \n"
+"E.mail : \n"
+"Internet : \n"
%>
When the email is received there are no spaces/breaks between each line - \n is not working??