Search Results - ASP Message Board

Search:

Type: Posts; User: Bill Wilkinson

Page 1 of 20 1 2 3 4

Search: Search took 1.45 seconds.

  1. Oh, never mind, I see it. It's here: WHERE...

    Oh, never mind, I see it. It's here:

    WHERE c.RowID > $row_start AND c.RowID <= $row_end ORDER BY $sort $order
    When you change sort order, you MUST go back to page 1. If you do that, I think the...
  2. Well, then, it's trash code. Apparently it is...

    Well, then, it's trash code. Apparently it is using JavaScript to sort what is on the page.

    Throw it out and rewrite it.

    http://clearviewdesign.com/Newbie/Demos/ServerSideSort.asp

    Just be...
  3. Replies
    13
    Views
    437

    How about we toss that code and do all the...

    How about we toss that code and do all the sorting in the browser?

    Here's my first effort. It does *NOT* create links for either viewing the files or changing to other directories. Coming soon....
  4. What do you mean by "only sorts the current...

    What do you mean by "only sorts the current page"?

    You mean if you change WHAT you are sorting by? Or all the time?

    This is a terrible idea:

    $sql = "SELECT * FROM bids WhERE BidStatus=1...
  5. Replies
    13
    Views
    437

    But it is YOUR CODE (well, mine originally...but...

    But it is YOUR CODE (well, mine originally...but yours now) that is outputting that! Just STOP doing it!

    Untested, but I think the only thing you need to change is this line:
    ...
  6. Replies
    13
    Views
    437

    I'm lost. If you want to list the files and show...

    I'm lost. If you want to list the files and show them as links, then how do you avoid the page being full of links?

    Example, please?
  7. Well, there is clearly one BIG bug in there: ...

    Well, there is clearly one BIG bug in there:

    SQL = "SELECT CustomField1 FROM KPUsers WHERE KPUser='" & name & "' AND KPPassword = '" & pwd & "'"

    ...
    Response.Write RS("CustomField1").value &...
  8. View Post

    <a href="#" onclick="parent.location.href='logout.php';">Log Out</a>
  9. SO show the XML. It probably doens't have such...

    SO show the XML. It probably doens't have such an element.
  10. Replies
    13
    Views
    437

    Correct. Read it carefully. It is saying "IF...

    Correct. Read it carefully. It is saying "IF the file name is NOT index.html *AND* the file extension is NOT asp THEN..."

    We could have done it the other way around:

    If NOT( fname =...
  11. Replies
    13
    Views
    437

    For Each fileItem in curFiles fname =...

    For Each fileItem in curFiles
    fname = fileItem.Name
    fext = InStrRev( fname, "." )
    If fext < 1 Then fext = "" Else fext = Mid(fname,fext+1)
    ' next line is an...
  12. If you have control of the server, set it to...

    If you have control of the server, set it to allow all the possible debugging for ASP pages. Using the IIS control panel, select ASP and its properties and set (in Debugging Properties):
    == Enable...
  13. Replies
    1
    Views
    174

    What does "turn it off" mean??

    What does "turn it off" mean??
  14. Stupid forum broke two of my [code] blocks in...

    Stupid forum broke two of my [code] blocks in half.
  15. So why not do the identical thing in PHP? ...

    So why not do the identical thing in PHP?


    $sql = "SELECT BidID, COUNT(*) AS bidCount FROM bids GROUP BY BidID";
    ...
    while ( ... loop on rows ... )
    {
    $bidid = $result["BidID"];
    $cnt...
  16. You may want to have a (very small?_) submit...

    You may want to have a (very small?_) submit button for those people who turn off JavaScript.

    Or maybe you could do it thus:

    <form action="whatever" method="post" onchange="this.form.submit()">...
  17. SO that is trivial:

    SO that is trivial:


    <form action="whatever" method="post" onchange="this.form.submit()">
    <select name="SType">
    <option value=""></option>
    <option value="Bid">Bid[2]</option><!-- no...
  18. <select name="SType" data-placeholder="Solicitations..." class="chosen-select" style="width:178px;">
    <option value="">Choose one</option>
    <?php
    $tsql = "SELECT b.bidstatus, b.BidType AS sc,...
  19. Ummm....yes. But it has nothing to do with PHP....

    Ummm....yes. But it has nothing to do with PHP.


    <form action="anotherpage.php" method="post">
    <select name="SType">
    <option>...
    ...</option>
    </select>
    <input type="submit">...
  20. There is a space in there: "...Prov ider..." ...

    There is a space in there: "...Prov ider..."

    Is it really there? If so, that would certainly be a problem.
  21. Replies
    1
    Views
    277

    But why does this surprise you??? Surely you...

    But why does this surprise you???

    Surely you don't expect the production server to have the same disk drives and folders as are on your machine?

    Try this in your web.config:
    ...
  22. Thread: Hi Bill

    by Bill Wilkinson
    Replies
    1
    Views
    154

    Answered. Have fun. If my answer doesn't work,...

    Answered. Have fun. If my answer doesn't work, post in the PHP forum on codingforums.com
  23. Replies
    13
    Views
    437

    Well, since that article showed making DATABASE...

    Well, since that article showed making DATABASE results sortable, how can we guess what you did to make it read directories, instead? Or to make the files in the directories sortable? And as a not...
  24. Replies
    1
    Views
    129

    Answer right here on this site:...

    Answer right here on this site: http://www.4guysfromrolla.com/webtech/092201-1.shtml

    The answer is from 2001, but it's still true today. You will have to find a third party component that is...
  25. Replies
    2
    Views
    328

    But I just reaslized this doesn't make a lot of...

    But I just reaslized this doesn't make a lot of sense. If a given order_id has 7 different products in the order, then your code will change quantity for all 7 products!

    Shouldn't the code really...
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4