Code-style - Related information

  • How to define the methods that are often used in business classes

    in the process of developing a module, some code appears repeatedly in multiple business classes. I want to strip it out and write it as a separate method, but I don t know where to write it, because the method is also related to business, so it feels s...

  • MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
    MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b2b1c7-40aad.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
    MySQL Errno : 1021
    Message : Disk full (/tmp/#sql-temptable-64f5-1b2b1c7-40aad.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
    Need Help?