Tag: php

  • Add Dashicons to your WordPress Plugin Admin Menu Icon

    Since WordPress 3.8 nice menu icons on dashboard appear beside different settings menu e.g. Posts, Pages, Media, Appearance etc. These icons do not use images but are build with CSS. If you are a WordPress plugin or theme developer, you can use these icons to have a nice icon for your product’s dashboard menu. Admin…

  • Insert multiple rows via a PHP array into MYSQL

    Sometime you want to pass a large dataset into a mysql table using PHP. Assembling one INSERT statement with multiple rows is much faster in MySQL than one INSERT statement per row. This sounds like you might be running into string-handling problems in PHP, if fact it is an algorithm problem. Basically, when working with…