Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


cyberRobot last won the day on November 1 2018

cyberRobot had the most liked content!

Community Reputation

111 Excellent

About cyberRobot

  • Rank
    Much to Learn

Contact Methods

  • Website URL

Profile Information

  • Gender
    Not Telling

Recent Profile Visitors

84,152 profile views
  1. cyberRobot

    Newbie here

  2. cyberRobot

    tutorial suggestion

    There's a lot of potential steps in that description. Where are you stuck? Do you have any code?
  3. cyberRobot

    count child nodes in phpsimpledom

    Are you looking to count what you get from the following line? $lis2 = $html2->find('.chunklist', 0)->children() ; If so, have you tried PHP's count() function? count($lis2) Note that I haven't used PHP Simple DOM. So I'm just guessing here. 😁
  4. cyberRobot

    Stop showing profiles on hover?

    Out of curiosity, I tweaked the style sheet in my browser for a couple pages on the PHPFreaks website. I personally think the links look fine with them all underlined. An example screenshot is attached.
  5. cyberRobot

    Stop showing profiles on hover?

    I'm right there with you. I understand the impulse to style links so they fit with the design or don't stand out too much. Especially when dealing with pages that contain a lot of links. However, I'm still in the boat where links should be underlined, for the most part. Of course, I make exceptions for things like the website navigation and text designed to look like a button. A benefit of using underlines, besides the easy recognition for most website visitors, is that it helps people who have difficulties perceiving color. In case anyone reads this and is interested, more information can be found here: https://webaim.org/techniques/hypertext/link_text#appearance
  6. cyberRobot

    Stop showing profiles on hover?

    It seems like that could lead to some confusion. There's nothing obvious in the popup for getting to the user's profile. Perhaps that something that can be changed. If someone clicks a username to bring up the popup, I don't know if visitors will think to click the username again to view the profile.
  7. cyberRobot

    Stop showing profiles on hover?

    Sorry, I read your post incorrectly. I could see how that would be annoying. Moving the mouse to hide "popup" content seems to be par for the course when it comes to browsing the Web. I guess I've just gotten used to it.
  8. cyberRobot

    Stop showing profiles on hover?

    I personally like the hover feature. It's especially useful for previewing topics when looking for spam. Luckily the hover action has a few second delay. I'm not a big fan of fighting with "popup" windows as I'm trying to interact with the website.
  9. cyberRobot

    Echo Download Link

    Good to know, thanks πŸ˜”β˜ΊοΈ
  10. cyberRobot

    need help with array

    I should mention that you'll want to use caution when you get to the step where you are populating the $extensions array using form input. Information supplied by a user should never be trusted. Forms, for example, can be tampered with, even ones using the POST method.
  11. cyberRobot

    need help with array

    In case this is more than just test code, the above code is missing the closing tag for the table row. As for the error, $array isn't defined in your code. Assuming that you are looking for extensions 201, 201, and 204, try something like this $extensions = array(201,202,204); $sql = "SELECT extension FROM extensions where extension IN(".implode(',',$extensions).")"; Note that you'll need to run the query, like you did for the extensions HTML table. The foreach loop that runs through the phone numbers can be replaced with a while loop, like you have for the HTML table.
  12. cyberRobot

    need help with array

    What does your code look like now? Is $array defined...before the query?
  13. cyberRobot

    Echo Download Link

    Interesting. That would explain why the OP didn't need to write a script to force the browser to download the file. I'll have to try out the attribute sometime. Thanks!
  14. cyberRobot

    help with list ordering

  15. cyberRobot

    help with list ordering

    You might get a better response if you post the pertinent code here. Just make sure to use code tags (which is the <> button in toolbar when posting). Have you looked into using something like PHP's natsort() function? More information can be found here: http://php.net/manual/en/function.natsort.php

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.