dcsimg
www.webdeveloper.com

Search:

Type: Posts; User: bsmbahamas

Page 1 of 13 1 2 3 4

Search: Search took 0.02 seconds.

  1. arsort() seems to have done the trick instead of...

    arsort() seems to have done the trick instead of rsort()

    :D

    //count em...
    $results = array_count_values($arrDomains);

    //sort em...
    arsort($results);
  2. that works but it gives me the following... 0...

    that works but it gives me the following...

    0 = 50
    1 = 29
    2 = 20
    3 = 14
    4 = 12
    5 = 11
    6 = 9
    7 = 9
  3. hi ginrjm, thanks for the tip. my bad, when i...

    hi ginrjm, thanks for the tip. my bad, when i used krsort() it worked and showed them in descendign order but it didn't display the domains it showed the key and the value sorted properly.

    I was...
  4. ok krsort() worked perfectly! Thanks again.

    ok krsort() worked perfectly!

    Thanks again.
  5. thanks NogDog, i'll try that again.

    thanks NogDog, i'll try that again.
  6. how to sort in descending order after using array_count_values() ?

    Hi guys, i know this is a basic question but i'm really pressed for time and can't seem to figure this out, i tried rsort() and ksort() to no avail.

    i used a regular for loop to create an array of...
  7. hi guys, couldn't give up so easily, so i decided...

    hi guys, couldn't give up so easily, so i decided to just use site=l.href.split("//") to split the url at // and the reference site[1] to get at the part of the url after the http://, and this works...
  8. wordpress 'Press This' bookmarklet javascript issue

    hi guys i'd be most grateful if somebody can solve this issue:

    There is a 'technical note' on this page explaining this silly little problem and also tells how to update the bookmarklet but i...
  9. Replies
    13
    Views
    14,784

    Thanks again bionoid that works just fine,...

    Thanks again bionoid that works just fine, somehow it seems easier to understand the way you just said it. Thanks for the links too, i'll be sure to read them over right now as that will come in...
  10. Replies
    13
    Views
    14,784

    lots of comments but only for the sake of...

    lots of comments but only for the sake of clarity, wouldn't put all that into an actual script, just to help others that may not understand the code.

    thanks for prototyping in the functionality,...
  11. Replies
    13
    Views
    14,784

    thanks for the update tenfold, figured it was IE7...

    thanks for the update tenfold, figured it was IE7 not supporting something.
  12. Replies
    13
    Views
    14,784

    Thanks again to tenfold, but your code didn't...

    Thanks again to tenfold, but your code didn't work for me, but i'm stuck using IE7 at work and will still try it when i get home, i commented out the console.log() and repalced it with...
  13. Replies
    13
    Views
    14,784

    I didn't, it's common for coders to not want to...

    I didn't, it's common for coders to not want to do homework for newbies, and it's the right thing to do. Thanks for your solution and give it a whirl and modify as needed, really appreciate your time.
  14. Replies
    13
    Views
    14,784

    Homework? seriously? :) My profile says...

    Homework? seriously?

    :)

    My profile says Join Date: Aug 2006, Posts: 293.

    I've been coding for 10+ years in html, css, javascript, php and jquery, and some autohotkey macros.

    javascript...
  15. Replies
    13
    Views
    14,784

    need help coding a while or for loop

    i've tried many approaches but none work well enough,
    here is psuedocode of what i'm trying to do...

    var intMax = 3;
    var intStart = 0;
    var intStop = 10;
    var arrPicks = [];

    for( var i = 0; i...
  16. Replies
    6
    Views
    3,232

    Unable to get value of the property 'x': object...

    Unable to get value of the property 'x': object is null or undefined " almost always means that the object you are referring do does not exist or doesn't have that particular property. try using an...
  17. Replies
    6
    Views
    3,232

    the splice method of the built in Array object...

    the splice method of the built in Array object won't accept will only accept an integer or a variable storing the integer. this may not solve your problem but these lines(139 & 140) and few others...
  18. i think Location in the header should be lower...

    i think Location in the header should be lower case, and all this code needs to appear in php tags at the top of the file, if it appears after the head tags it may not work and say something like...
  19. Replies
    2
    Views
    1,898

    Thanks for the response, i truly appreciate it,...

    Thanks for the response, i truly appreciate it, but could you be a little more specific please, maybe provide a link to this area of facebook or even better a link to a tutorial.

    i can code it...
  20. Replies
    2
    Views
    1,898

    FB Like or share auto redirect

    Hi guys can anyone assist me with finding a facebook like or share plugin that will aoto redirect to another page on/off my site after the user has clicked like or share?

    I suppose i could use...
  21. Replies
    35
    Views
    3,465

    thanks it was fun. one important change is...

    thanks it was fun.

    one important change is that you should use $_REQUEST instead of GET or POST, if javascript is turned off the data will be sent via POST since the form used method="post"...
  22. Replies
    6
    Views
    959

    i know right? blame the browser makers and o/s...

    i know right? blame the browser makers and o/s makers i guess.

    i'm stuck at work using IE7 and the shorcut to this page has an image shortcut:

    the actual code in the shortcut is:
    ...
  23. Replies
    6
    Views
    959

    as far as i know, as long as you copy the link to...

    as far as i know, as long as you copy the link to your desktop using right-click, or just drag it over, it should use your favicon as long as your favicon normally works when you book mark your site...
  24. Replies
    9
    Views
    1,356

    from your original code it seems that you are not...

    from your original code it seems that you are not using a blog like wordpress but seem to be building a custom site with pages that load templates based on the query string e.g. ?p=1 or ?p=2, etc.
    ...
  25. Replies
    5
    Views
    4,187

    go only accepts an integer -1, -3, etc. ...

    go only accepts an integer -1, -3, etc.

    perhaps you can create a div in the page like this <div id='searches'> and then when they click search have it call a function that appends the search to...
Results 1 to 25 of 308
Page 1 of 13 1 2 3 4
HTML5 Development Center



Recent Articles