8

What is the Stupidest solution to a problem that actually worked?

Comments
  • 6
    Taken from some older post.

    function isCertificateValid(cert) {
    return true;
    }

    I mean, for sure it works.
  • 7
    Taken from a reddit post 🤣🤣
  • 3
    Changing a name 'Users' to 'users'.

    Apparently postgreSQL doesn't work with capital letters in the table names.

    I was new to php and I had wasted a whole day because of that
  • 3
    <?php

    // Taken from my work

    foreach($object as $item){

    $item = $item;

    }

    // use $item
  • 3
    Opening the script in sublime, save and execute again.
  • 2
    changing 8 to 16
  • 4
    @8BitOverdose Actually it does but you have to extra quote it like „“Users““.
    Fun fact: postgresql wont accept user as table because it's reserved. Had to learn it the hard way 😅
  • 1
    restarting the pc
  • 0
    Bang the hardware
Add Comment