dcsimg
www.webdeveloper.com

Search:

Type: Posts; User: iBeZi

Page 1 of 11 1 2 3 4

Search: Search took 0.02 seconds.

  1. I'd recommend looking into something like Google...

    I'd recommend looking into something like Google Charts.
  2. Thread: Stop spam posts

    by iBeZi
    Replies
    9
    Views
    830

    Could you maybe implement something that limits...

    Could you maybe implement something that limits how many new threads you can make? So you have to wait 10 minutes or so between making threads, should put off spammers.
  3. I'm not 100% sure what your asking for... But...

    I'm not 100% sure what your asking for... But I'll have a shot at answering.

    First of all to get that bit of code working you'd have to do something like this


    ...
  4. Not sure if this is the best way of doing it, but...

    Not sure if this is the best way of doing it, but it's the quickest way I can think of for now


    SELECT
    *
    FROM
    pto.employees
    WHERE
    concat(MONTH(hire_date),'-',DAY(hire_date))...
  5. I did not know that, I'd kind of hope most people...

    I did not know that, I'd kind of hope most people would be moving away from ie8 and below now so hopefully it shouldn't be that big of an issue... still, handy to know, thanks
  6. Is indexOf being set anywhere, i.e. I'd expect...

    Is indexOf being set anywhere, i.e. I'd expect there to be something like this somewhere.



    var indexOf = [].indexOf;


    This seems like a really strange way of doing things though, I'm pretty...
  7. Thread: Page Reload

    by iBeZi
    Replies
    3
    Views
    705

    When doing what? The page won't just reload...

    When doing what? The page won't just reload itself...
  8. Replies
    2
    Views
    1,383

    Poll: Use the function name without brackets in the...

    Use the function name without brackets in the event listener.



    document.getElementById("lefter_left_arrow").addEventListener("click",ChangeScript);
    function ChangeScript() {
    var c4439 = "aa"...
  9. Thread: Regex help

    by iBeZi
    Replies
    5
    Views
    742

    Something like this? /sid=6$/

    Something like this?



    /sid=6$/
  10. Yeah that would fix it, you're probably actually...

    Yeah that would fix it, you're probably actually looking for the break statement rather than continue though which will stop the loop completely instead of skipping to the next iteration
  11. Your while loop is iterating until y = 3, the...

    Your while loop is iterating until y = 3, the "continue" is then telling the while loop to ignore everything below and carry on to the next iteration, so y never gets passed 3 and is always less than...
  12. jQuery And to do that encoding you can use...

    And to do that encoding you can use encodeURIComponent



    function get_action (form_element) {
    if ($("#project").val()) {
    var str = $("#project").val();
    ...
  13. Replies
    5
    Views
    1,040

    1. Does the file exist? 2. Are there any errors...

    1. Does the file exist?
    2. Are there any errors in the file you're including?
    3. Have you checked your error logs?
  14. Replies
    6
    Views
    1,242

    It hasn't and I'll be surprised if they bother...

    It hasn't and I'll be surprised if they bother fixing it for the next version of PHP, they're more likely to just deprecate the function and recommend people use the DateTime class since that already...
  15. Replies
    2
    Views
    603

    You need to tell it which database you want to...

    You need to tell it which database you want to select.



    mysqli_select_db($conn,$dbname) or die("Could not find database");
  16. Replies
    6
    Views
    1,242

    It's probably a good idea to start moving away...

    It's probably a good idea to start moving away from using the strtotime() function and start using DateTime, which is more powerful and isn't affected by the 2038 bug.
  17. Replies
    3
    Views
    686

    ~ is a bitwise operator, it performs a NOT...

    ~ is a bitwise operator, it performs a NOT operation on the bits found in the binary representation of a number and returns the decimal result. This will probably do a better job of explaining it...
  18. Replies
    2
    Views
    503

    There's quite a few, this one looks pretty good ...

    There's quite a few, this one looks pretty good

    https://regex101.com/
  19. Replies
    2
    Views
    535

    I'm going to assume that "e" is an event object...

    I'm going to assume that "e" is an event object passed into a function by an event listener...

    e.target isn't a string, it's a reference to whichever element triggered the event, e.target.tagName...
  20. Replies
    8
    Views
    1,385

    This should work echo " \n"; ...

    This should work



    echo "<table>\n<tr>";
    $counter = 0;
    foreach($mainArray as $subArray) {

    echo "<td>ID: ".$subArray['photo_id']." name: ".$subArray['photo_name']."</td>";
    ...
  21. Replies
    3
    Views
    524

    Like this? var cat = { "legs": 3,...

    Like this?



    var cat = {
    "legs": 3,
    "name": "Harmony",
    "color": "Tortoiseshell"
    };
  22. Replies
    7
    Views
    1,605

    Just use a for loop... for(var i = 0, l =...

    Just use a for loop...



    for(var i = 0, l = locations.length; i < l; i++) {
    console.log(locations[i].latitude);
    }
  23. Replies
    7
    Views
    1,605

    You need to use JSON.parse var locations=...

    You need to use JSON.parse



    var locations= JSON.parse('<?php echo $output; ?>');
  24. Joining tables is standard practice across all...

    Joining tables is standard practice across all database systems, using the comma syntax is incredibly messy as it confuses table joins with your WHERE clause, you should keep the two parts of your...
  25. Replies
    4
    Views
    721

    Honestly, I've never used Behat or Cucumber...

    Honestly, I've never used Behat or Cucumber before so I'm probably not the best person to be asking.

    There are a few Laracasts that go over using Behat with Laravel though so maybe they'll help
    ...
Results 1 to 25 of 257
Page 1 of 11 1 2 3 4
HTML5 Development Center



Recent Articles