Jump to content

administrator

Administrators
  • Posts

    3,108
  • Joined

  • Last visited

  • Days Won

    380

Posts posted by administrator

  1. Hmm ... I am not sure what you mean?

    You want to point software at a website, and have it create the same, but responsive? If that's what you want, I don't think you can do that without getting into code. 

    We just updated the non-responsive StudioWeb layout, to make it responsive, and we had to rebuild from scratch.

    Stef

  2. Hi,

    Your second option where you use an array is better, since it is cleaner code. That said, you could also use the element hierarchy in the DOM to target elements. But what would be the point?

    Another thing you can do, if possible, is place all those elements into a div and simply toggle the visibility of the div. But I am guessing the elements are in different parts of the page. 

    Stef

  3. Hi,

    I don't know what line is line 106, but look at this line:

    $stmt->bind_param("ss", md5($input['pass'] . $config['salt']), $_SESSION['id']);

    It could be he is trying to pass this into the array:

    md5($input['pass']

    So instead, assign to a variable and pass that. So do something like:

    $salted = md5($input['pass'];

    And then:

    $stmt->bind_param("ss", $salted . $config['salt']), $_SESSION['id']);

    The md5 hash function is altering the stat of $input['pass'], so that could be causing the notice to appear. 

    I haven't looked at what Ben did in that video, but he may have just turned off error_reporting for PHP. 

    Hope that helps,

    Stef

     

×
×
  • Create New...