www.webdeveloper.com

Search:

Type: Posts; User: scousesheriff

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Missing the same line again: var compiledQuery...

    Missing the same line again:

    var compiledQuery = document.getElementById('textarea');

    This is due to the scope of the compiledQuery variable.
  2. No problem. Glad I could help.

    No problem. Glad I could help.
  3. Replies
    1
    Views
    1,748

    Hi Is there an item on the .aspx page for the...

    Hi

    Is there an item on the .aspx page for the master page?

    Not used the app-code directory before, but it could be that you need to include the class with a "using..." statement because it is...
  4. Hi Perhaps it is something to do with ...

    Hi

    Perhaps it is something to do with


    namespace Fiona_Ross.master_page


    should it not just be
  5. I see, the issue is with your hideAllDivs()...

    I see, the issue is with your hideAllDivs() function.

    Are you wanting to hide items by group? So that a maximum of 1 div is shown for each select item?

    If so, the best thing to do is make the...
  6. Replies
    4
    Views
    6,905

    Maybe the following is what you're after: ...

    Maybe the following is what you're after:


    $(document).ready(function(){
    //your code here
    });
  7. Where do you setup compiledQuery for use in...

    Where do you setup compiledQuery for use in compiledQuery.value = XXX?

    I think you are missing a line such as:


    var compiledQuery = document.getElementById('textarea');
  8. Are you wanting to have different drop downs...

    Are you wanting to have different drop downs controlling different areas?

    If so, the same code is fine, you just use unique ids for the various div elements and the values of the drop downs.
    ...
  9. Try: echo "the name is " ....

    Try:


    echo "the name is " . isset($row['name']) ? row['name'] : "-";
  10. Replies
    10
    Views
    14,707

    For each PHP file you wish to search the contents...

    For each PHP file you wish to search the contents of, you could read the file into a string using file_get_contents()
    http://php.net/manual/en/function.file-get-contents.php

    Then you can attempt...
  11. Replies
    1
    Views
    1,673

    To have the links open in a new window, simply...

    To have the links open in a new window, simply add a target attribute to your anchor (link) tag.


    document.write('<a href='+'"'+imagelinks[ry]+'"'+' target="_blank"><img src="'+myimages[ry]+'"...
  12. You dont have any of the co_ fields in your form....

    You dont have any of the co_ fields in your form.
    I would also highly recommend using $_POST rather than $_REQUEST
  13. Replies
    2
    Views
    648

    What format do you have the day of the week in?...

    What format do you have the day of the week in? Is it a timestamp? Take a look at http://uk.php.net/manual/en/function.date.php, which should help you out.
    SS
  14. function a(){ ... } function b(){ ... a;...

    function a(){
    ...
    }
    function b(){
    ...
    a;
    ...
    }
  15. Replies
    13
    Views
    23,559

    Sorry, I meant in reference to the earlier posts...

    Sorry, I meant in reference to the earlier posts that are talking about deciding to do a redirect half way through a script after other output has been made.
    SS
  16. Replies
    13
    Views
    23,559

    For completness, can I just add that...

    For completness, can I just add that http_redirect() is part of the PECL extension to PHP so might not be installed, and as far as I am aware, it would behave the same way as header("Location:..")...
  17. Replies
    5
    Views
    865

    Yes, they should be the same. It is either your...

    Yes, they should be the same. It is either your script is in the wrong location or the value in open_basedir arent set up for you correctly. Most certainly it is something that your server host could...
  18. Replies
    5
    Views
    865

    What folder is PHPMyAdmin in?

    What folder is PHPMyAdmin in?
  19. Replies
    5
    Views
    697

    $sqltotaluniqueweek = "select distinct ip from...

    $sqltotaluniqueweek = "select distinct ip from stats where received > date_sub(currentdate(), INTERVAL 7 DAY);";
    give that a bash. Please note I havent tested this, so no promises.
  20. Replies
    5
    Views
    865

    It appears to be a problem with your PHP...

    It appears to be a problem with your PHP configuration rather than MySQL.

    open_basedir restriction in effect means that you can only run PHP files in the folders shown in path(s), which your file...
  21. Replies
    3
    Views
    700

    untested, but: substr(stristr($uptime, 'load...

    untested, but:
    substr(stristr($uptime, 'load average:'), 14, 4);might work
  22. Replies
    11
    Views
    1,044

    http://www.myphotofolio.co.uk would be most...

    http://www.myphotofolio.co.uk

    would be most appreciated.

    Glad i could help!
    As for SQL, I would just recommend getting a book like the complete reference to SQL...
  23. Replies
    11
    Views
    1,044

    sorry, should subsr be substr

    sorry, should subsr be substr
  24. Replies
    11
    Views
    1,044

    Try this: $year = subsr($row['recieved'],0,4);...

    Try this:

    $year = subsr($row['recieved'],0,4);
    $month = subsr($row['recieved'],5,2);
    $day = subsr($row['recieved'],8,2);
    $target = mktime(0,0,0,$month, $day, $year);
    echo date("l", $target); ...
  25. Replies
    11
    Views
    1,044

    $sql = "select count(distinct IP) as hits,...

    $sql = "select count(distinct IP) as hits, receieved FROM $dbsql TABLE group by recieved";

    Then use the PHP functions substr, mktime and date, to format $row['recieved'] as you like.

    Hope...
Results 1 to 25 of 52
Page 1 of 3 1 2 3
HTML5 Development Center



Recent Articles